ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Troubleshooting (http://forum.ispsystem.com//forumdisplay.php?f=11)
-   -   PHP as CGI - PHP.INI (http://forum.ispsystem.com//showthread.php?t=1991)

syntaxsniffer 09-17-2012 04:36 PM

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?

slava 09-17-2012 07:54 PM

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 06:10 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.