php up2date problems with cPanel

While I am not sure why recently I have seen a few cPanel servers with the php rpms installed on them. If you have this problem the following can be done to add php back to the skip list:



up2date --config
20


paste in this:


spamassassin*;httpd*;perl;mysql*;php*;mod_ssl*;courier*;kernel*;exim*;proftpd*;pure-ftpd*;squirrelmail*;

to exit and save

Now go ahead and rpm -qa |grep php and remove the php rpms that are installed. Additionally if you are on a 64bit Redhat Enterprise (RHEL) or CentOS version 3 or 4 you may also need to run:



ln -s /usr/lib64/libmysqlclient.so /usr/lib/libmysqlclient.so


to fix a problem this:

configure: error: Cannot find libmysqlclient library under /usr

Powered by Drupal - Theme created by Danger4k