[SWLUG] php-5.1.2 where the hell?

Justin Mitchell justin at discordia.org.uk
Tue Aug 1 14:46:18 UTC 2006


Sorry, i hadnt read it carefully enough, as was pointed out you seem to
have a version of php that is newer than centos provides.

and with it having been badly/wrongly compiled, you would need to find
the SRPM it was built from, and rebuild it with the right options turned
on.

rpm -qi php   
should give you hints as to where it came from if you want to try that
route.


if you can live with the slight downgrade to 5.0.4 then i would
recommend that you delete your existing installed php rpm and let yum
fetch the one from centosplus that does have mysql support modules.

yum search php   
will tell you which repository it finds a package in as well as what
version, so you can be sure your not going to get it from somewhere
strange.

check in /etc/yum.repos.d/CentOS-Base.repo to see if the [centosplus]
section has been disabled (enabled=0) and enable it to get the extra
stuff that wasnt in rhel.





More information about the Swlug mailing list