Custom php.ini

From Leo's Notes
Revision as of 17:07, 22 September 2015 by Leo (talk | contribs) (Created page with "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 t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 22 September 2015, at 17:07.

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