PHP.INI

Support/Development for PHP
joeb
Forum User
Forum User
Posts: 6
Joined: Fri Jan 02, 2009 4:09 pm

PHP.INI

Unread post by joeb »

Hi,

I have upgraded PHP on my CentOS 4 from php 4.3.9 to php 5.2.8 using the atomic Channel in yum. The upgrade went well and everything is working fine , but I noticed my php.ini file is very short it only has 4 lines in it. Is that how it suppose to be or did I miss somerthing?

Thank you

Joe
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

see if there is a php.ini.rpmnew around there, that looks like a bad trigger in plesk wiped out the old one.
joeb
Forum User
Forum User
Posts: 6
Joined: Fri Jan 02, 2009 4:09 pm

Unread post by joeb »

Thank you Scott,

The only files that I see in /etc are :

/etc/php.ini
/etc/php.ini.saved_by_
/opt/php51/etc/php5/cli/php.ini
/opt/php51/etc/php5/fastcgi/php.ini
/usr/local/psa/admin/conf/php.ini

There are no php.ini.rpmnew

Thank you
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Unread post by hostingguy »

its probably /etc/php.ini.saved_by_

do this

mv /etc/php.ini /etc/php.ini.4.lines
cp /etc/php.ini.saved_by_ /etc/php.ini

then see if its good again.
joeb
Forum User
Forum User
Posts: 6
Joined: Fri Jan 02, 2009 4:09 pm

Unread post by joeb »

hostingguy wrote:its probably /etc/php.ini.saved_by_

do this

mv /etc/php.ini /etc/php.ini.4.lines
cp /etc/php.ini.saved_by_ /etc/php.ini

then see if its good again.
Thank you hostingguy,

I have tried that but did not work, I manged to get a copy for php5 and all is well now.

Thank you

Joe
Post Reply