-
Notifications
You must be signed in to change notification settings - Fork 23
Configuring a PHP INI directive
Note that when configuring PHP as used by EngineBlock you can set INI directives in 3 ways:
You can set any PHP_INI_USER or PHP_INI_ALL setting in the EngineBlock configuration under the 'phpSettings' configuration namespace.
Example:
phpSettings.date.timezone = "Europe/Amsterdam"
See "Changeable" in the list of available INI settings.
Setting these settings in your engineblock.ini has the advantage of making your application more portable and less dependant on (global for all applications) system configuration.
If you are running PHP as an Apache module you can use the special Apache directives. Find out more at php.net.
Generally found in /etc/php.ini the system global configuration for PHP allows you to set any available INI setting. Do note that this is global for all hosted applications and that you will need the appropriate (root) rights.