I would like manually install PHP 5.2.17. I manage to install httpd and mysql.
But when I want to PHP 5.2.17, I could not found a proper guide. These the step I had done with a fresh installation of CentOS 5.8 x86_64 (server & server GUI)
yum install httpd httpd-devel
yum install mysql mysql-server mysql-devel
yum remove php
yum groupinstall "Development Tools"
yum install libxml2-devel
wget http://museum.php.net/php5/php-5.2.17.tar.bz2to get php5.2.17 (client requirement must use this version)
./configure --with-apxs2=/usr/sbin/apxs --with-mysql=/usr/local
This is the area I confuse.
I could not found the
/usr/sbin/apxs in my system. I do another Google search on how to manually install PHP, they pointed using
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
Both localtion I also cannot find apxs or apache2. I scare I make any mistake on it. Please help and guide on this.
I am newbie in CentOS