WestNIC - professional web hosting provider since 2002

How to manipulate default PHP settings via local php.ini file

Most of our servers are built with PHP SuEXEC support. It's possible to use own php settings. For example, default upload size is set to 2M (PHP5) or 2097152 (PHP4). But you need to upload at least 5 MB file...

1. Create php.ini file in Notepad or any other text editor
2. If you use PHP4, please enter:

upload_max_filesize = "5242880"
post_max_size = "5242880"

If your server supports PHP5, you may use "5M" instead of "5242880"

then save your file

3. Upload your file into public_html folder and to your script directory.


  • See also: Description of core php.ini directives

  • Return to Main Page

    © Copyright 2002—2008 WestNIC.net
    Questions or comments about WestNIC.info portal please send to: 24/7 Support Desk