You can overwrite PHP settings in your PHP installation by creating a custom configuration file that is read by PHP, named
This guarantees that your changes will not be removed by upgrades to the PHP installation and ensures that your changes will overwrite other values loaded by default.
Inside zzz_custom.ini, enter your settings like:
date.timezone = UTC
display_errors = 0
memory_limit = 128M
For ServerGrove Installations, the file is located in
/etc/php54/conf.d/zzz_custom.ini. For PHP 5.3, use
For Zend Server Installations, the file is located in
You should create the file if it doesn’t exists.