ispCP - Board - Support
php.ini settings - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: php.ini settings (/thread-5767.html)



php.ini settings - antistes - 02-20-2009 04:33 AM

Hi forum,
I've just reached ispCP but i was a VHCS2 user.

I'm having troubles with the php.ini config of each domain. Reading trough the forums I found that each domain has its own php.ini in /var/www/fcgi/domain.tld/php5/php.ini and in fact there they are but apache doesn't read the php.ini from those files it reads from /etc/php.ini.

So if I use phpinfo() or change a php setting like magic_quotes_gpc in the domain php.ini it remains the settings of the /etc/php.ini.

I'm using a fresh install in CentOS 5.2.

Any help?


RE: php.ini settings - sci2tech - 02-20-2009 04:36 AM

Do you have fastcgi or fcgid enabled? I guess no, so ispcp is running with mod_php. Separate php.ini is available only with default solution (fastcgi/fcgid).


RE: php.ini settings - antistes - 02-20-2009 05:08 AM

Thanks for the quick reply.

I've followed the docs regarding CentOS and the first time when it prompted to select fastcgi settings instead pressing 'c' I pressed ENTER.

But then again I made a reinstall and this time pressed 'c'.

Before that I'd installed mod_fcgid has shown in the docs.

Under /etc/httpd/conf.d I have fastcgi_ispcp.conf and fcgid_ispcp.conf

how can I check for sure if fcgid is correctly configured?