View Single Post
Old 09-17-2012, 04:36 PM   #1
Junior Member
 
Join Date: Sep 2012
Posts: 4
syntaxsniffer is on a distinguished road
Unhappy 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?
syntaxsniffer is offline   Reply With Quote