Custom php.ini

From Leo's Notes
Last edited on 24 February 2017, at 04:26.

On servers that use suPHP, you can use a custom php.ini files for each individual website. While not all options can be changed depending on the system setup, it can be used to change some default settings that you may normally want tweaked.

Error Reporting

Create a php.ini file with the following:

display_errors = 0
error_reporting = E_ALL & ~E_NOTICE

Upload Size Change

The upload size is limited by both the maximum POST size and PHP's maximum file upload size.

upload_max_filesize = 128M
post_max_size = 128M

See Also