Current time: 11-23-2024, 01:16 PM Hello There, Guest! (LoginRegister)


Post Reply 
php.ini settings
Author Message
antistes Offline


Posts: 2
Joined: Feb 2009
Reputation: 0
Post: #1
php.ini settings
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?
02-20-2009 04:33 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #2
RE: php.ini settings
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).
02-20-2009 04:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
antistes Offline


Posts: 2
Joined: Feb 2009
Reputation: 0
Post: #3
RE: php.ini settings
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?
02-20-2009 05:08 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)