Upgraded to PHP5, but version 4.4.4 still shows

mangohead

Member
Aug 4, 2003
23
0
151
I just tried to upgrade my cpanel server to the newest version of PHP5 (5.2.0).

Via WHM, I chose Apache Update and loaded my previous config. Checked PHP 5.2.0 and let it update.

During the script, I had a few of these errors:

expr: syntax error
./configure: test: =: unary operator expected

However, Apache Update completed. I also updated Zend.

I did a phpinfo and it showed that I still had PHP 4.4.4. The Cpanel control panel also verified that it was still 4.4.4 that was installed.

So I did another apache update, this time from the commandline, easyapache. I chose option 7 and PHP 5.2.0. I let the upgrade run and still got the same errors. Apache Update completed and apache restarted.

However, PHP 4.4.4 is still running.

Any Idea's? Any help would be appreciated!

Thanks!
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
So I did another apache update, this time from the commandline, easyapache. I chose option 7 and PHP 5.2.0. I let the upgrade run and still got the same errors. Apache Update completed and apache restarted.

However, PHP 4.4.4 is still running.
Check the buildapache log file for any errors:
/home/cpapachebuild/buildapache/build-log/
 

mangohead

Member
Aug 4, 2003
23
0
151
I tried upgrading to PHP 5.1.6 instead and it worked! I guess that will have to do for the meantime..

Are there many successful cpanel servers running 5.2?? Any particular reason why 5.1.6 would work and 5.2 wouldnt?

thanks again for the help!