Page 1 of 1
PHP.INI
Posted: Fri Jan 02, 2009 4:47 pm
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
Posted: Fri Jan 02, 2009 6:29 pm
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.
Posted: Fri Jan 02, 2009 7:56 pm
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
Posted: Mon Jan 05, 2009 6:21 pm
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.
Posted: Tue Jan 06, 2009 11:39 am
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