Your list shows that Apache, PHP, MySQL are not installed as RPM packages. They are installed manually from source.
From your previous replies I know that you are running Apache 2.0.54 with PHP 4.3.11.
Your MySQL client is 3.23.49 but MySQL server is 4.0.26.
I suggest that you keep Apache and take this chance to upgrade to PHP 5 and MySQL 5. Note that by doing this you have to configure them yourself to secure them and/or improve their performance. So do it with your own risk!
Here are detail steps. Please do it carefully. I suppose that you login to your server as root.
0) Back up your databases if you have. This is critical!!
1) Backup your php.ini (you may refer to it later). It's not critical but recommended
2) Remove all stuffs related to PHP and MySQL
- Stop MySQL server and Apache web server
- Use this command to remove existed MySQL related package
# rpm -e perl-DBD-MySQL
- Try to figure out where php/mysql files located and remove them manually. Hope that some files that you can not figure out to remove will be over written by doing step 3, 4 below.
3) Download and install MySQL 5
Grab all the official MySQL RPMs for RHEL 3 from the MySQL site including all of the following and install them:
* MySQL-client-standard
* MySQL-server-standard
* MySQL-devel-standard
* MySQL-shared-standard
Here is my presents for you :)
# cd
# wget http://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.0/MySQL-server-community-5.0.51a-0.rhel3.i386.rpm
# wget http://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.0/MySQL-client-community-5.0.51a-0.rhel3.i386.rpm
# wget http://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.0/MySQL-shared-compat-5.0.51a-0.rhel3.i386.rpm
# wget http://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.0/MySQL-devel-community-5.0.51a-0.rhel3.i386.rpm
# rpm -Uhv MySQL*
4) Download and install PHP 5
Please refer to this link. It will save you from a lot of works
http://www.tuxyturvy.com/blog/index.php?/archives/16-PHP5-on-RHEL3.htmlYou download php stuffs from the link provided (
http://www.tuxyturvy.com/files/php5/) then install them the same way to MySQL at step 3.
Hint for you:
# cd
# wget http://www.tuxyturvy.com/files/php5/php-5.0.4-4.rhel3.i386.rpm
# wget ........(other PHP related packages)
# rpm -Uhv php*
Good luck!!
If you don't mind giving your root privileges to access to your server, I can help you. I'm in Japan. It's 18:45 here when I am editing this post. I can help at night. At that case please email me your account to your server as well as root password. My email:
avtx30@gmail.com