CAll Us: USA +1 9176775553   Login

PHP Installation

==========================================
php INSTALLATION ( http://dan.drydog.com/apache2php.html )
==========================================
[root@]# wget http://in.php.net/get/php-5.2.6.tar.gz/from/in2.php.net/mirror
[root@]#tar xvfz php-5.2.6.tar.gz

[root@]# ./configure –with-apxs2=/usr/local/apache/bin/apxs –with-mysql=/usr/include/mysql –prefix=/usr/local/apache/php –with-config-file-path=/usr/local/apache/php –enable-force-cgi-redirect –disable-cgi –with-zlib –with-gettext –with-gdbm

[root@]# make
[root@]# make install
[root@]# cp -p .libs/libphp5.so /usr/local/apache/modules
[root@]# cp -p php.ini-recommended /usr/local/apache/php/php.ini
[root@]# /etc/init.d/httpd restart

============================================

Leave a Reply