PHP as CGI - PHP.INI
I am running CENT OS 6.3 x64 with the default install of the newest ISP Manager Pro.
PHP.INI is not working. I did a "locate php.ini" on the system and I see there is one in /etc/php.ini and a php.ini file in each domain folder (ISP Manager Pro does this on it's own when you create a site but there are only two lines in it). I set the master settings for the server in there. They SHOULD be processed first then the one in the domain folders. But /etc/php.ini is being ignored completely. Leaving php running the default for all options other than the two php manager adds. I saw one other thread on here where someone else was having the same problem but no one provided an answer. running phpinfo() shows the configuration file location is /etc. then under that it shows loaded as being the one in the domain directory. This normally wouldn't be a problem but the latest versions of php want a date.timezone entered. I put the date.timezone parameter in the /etc/php.ini but the domains all ignore it and report that php needs it. Thoughts? |
Try add date.timezone to user's php.ini in user home directory /var/www/user/php-bin/php.ini
|
All times are GMT +2. The time now is 12:12 PM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.