|
PHP Settings - Access to php.ini File Granted
Publish Date: Wednesday, May 2, 2007
Now it is possible to control some of the settings of the PHP interpreter by modifying a PHP configuration file called php.ini. This file enables one to choose whether global variables are turned on, the directory to upload files to when scripts are being written, and the maximum allowed size for uploaded files.
Depending on the PHP runtime version selected for the scripts in the PHP Settings section of the Control Panel, it is possible to edit the php.ini file for both PHP 4 and PHP 5. To do so, in the /sys folder, located in the root of each hosting account, are available two folders - php4 and php5. Inside each of these folders there is a separate php.ini file that can be modified depending on the PHP version that is currently enabled. this modification will affect all .php files recursively in all account's folders. For more information and typical php.ini settings, please visit the core php.ini directives web page at http://bg2.php.net/ini.core
|