ammonkc
I have a SUSE LAMP server that I need to upgrade. I need to upgrade php from 4.3.3 to 5.1.2. The problem that I'm having is that whoever originally built this server used rpms, probably yast or something like that, and I can't figure out how to uninstall the rpms. I want to remove the rpm apache and php and do a build from source so that I know exactly where everything is on the server. I don't even know where the current apache and php installation is, and I can't seem to remove it.
This is what I tried so far.
I thought that this would remove the apache and php binaries and allow me to do a fresh install from source. But the old apache and php server is still running. I'm not even sure how to stop the old apache server since I don't really know where apachectl is located.
How do I completely remove apache and php4.33 (but keeping my web app files) so that I can build from source a fresh copy?
This is what I tried so far.
| Code: |
|
Finds installed packages: > rpm -qa | grep -i apache > rpm -qa | grep -i httpd > rpm -qa | grep -i php then I issued this command for all packages found: > rpm -e [package-name] |
I thought that this would remove the apache and php binaries and allow me to do a fresh install from source. But the old apache and php server is still running. I'm not even sure how to stop the old apache server since I don't really know where apachectl is located.
How do I completely remove apache and php4.33 (but keeping my web app files) so that I can build from source a fresh copy?
