Current time: 09-28-2024, 12:18 AM Hello There, Guest! (LoginRegister)


Post Reply 
php.ini issue
Author Message
syslin Offline
Newbie
*

Posts: 9
Joined: Oct 2010
Reputation: 0
Post: #1
php.ini issue
Hello all,
I copied my phpBB3 system to my new server that running ispCP on CentOS server but I'm having trouble with PHP 5.3 and the old phpBB3 version.

So after find the solution, and testing it on my development server I have to change the "request_order" parameter from GP to GPC to allow the using of old PHP session method.

I tried to to change this parameter on /var/www/fcgi/<mydomain.com>/php5/php.ini , restart the Apache server (service httpd restart) but it's look like it does not effect.

So, I tried to to change this parameter on /var/www/fcgi/master/php5/php.ini , restart the Apache server (service httpd restart) but it's look like it does not effect.

So, I tried to create an .htaccess file on the phpBB3 root with the following code (which work on the development server that does not running ispCP):
I tried to to change this parameter on /var/www/fcgi/<mydomain.com>/php5/php.ini , restart the Apache server (service httpd restart) but it's look like it does not effect.
Code:
<IfModule mod_php5.c>
   php_flag register_globals Off
   php_flag magic_quotes_gpc Off
   php_value request_order GPC
</IfModule>

But this didn't helped too, the website refuse to use it.

Then I add the above lines:
php_flag register_globals Off
php_flag magic_quotes_gpc Off
php_value request_order GPC

to the /etc/httpd/vhosts/ispcp.conf (restart the Apache server) but this didn't help too.

Where is the right php.ini ??? What's going on?

Any idea? Please help.
Thanks,
Miki
01-15-2011 12:25 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
php.ini issue - syslin - 01-15-2011 12:25 AM
RE: php.ini issue - motokochan - 01-15-2011, 02:13 AM
RE: php.ini issue - syslin - 01-15-2011, 05:36 AM
RE: php.ini issue - syslin - 01-15-2011, 07:59 PM
RE: php.ini issue - motokochan - 01-18-2011, 01:44 PM
RE: php.ini issue - syslin - 01-19-2011, 07:09 AM

Forum Jump:


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