Upgrading PHP on CentOS, yields PHP not parsing
yum remove php-common
yum install php53-common
service httpd restart
This seemed to work, but PHP would not parse instead only showed the source code. I ended up reverting back to v5.1.6.
Does anyone have any suggestions?
Thanks!
4 Replies
Consider using Centos 6 if using php 5.3 is a must, or compiling php from source if you need to stick with centos 5 and don't mind maintaining php without a package manager.
It builds in mock but uses some dependencies from EPEL.
If you want my src.rpm let me know.
I use php as package name and put excludes in the the CentOS repos.
I also run updated pear, and exclude pear packages from yum, using the pear interface itself to install / manage them.
IUS Community
some time ago i was using php from