Installing php package after installing from source
I previously had installed php 4.3.4 from source. Now I want to install php 4.4.2 using the slackware package. I installed the package, but when I type php -v, it still says it is using 4.3.4.
1. how to I remove the php that I installed from source? There are several threads on here asking about it, but no one has been able to give the correct way to uninstall. make uninstall doesnt work, and I can't find anything on the php website.
2. How to I get slackware to use the package installed version instead of the source installed version?
When I try to start apache, it says:
Syntax error on line 6 of /etc/apache/mod_php.conf:
Cannot load /usr/libexec/apache/libphp4.so into server: libmhash.so.2: cannot open shared object file: No such file or directory
But, the file exists...
drwxr-xr-x 2 root root 4096 Feb 14 13:01 .
drwxr-xr-x 7 root root 4096 Feb 14 13:00 ..
-rwxr-xr-x 1 root root 4320112 Feb 14 13:01 libphp4.so