Apache installation guide: version 2.0.63
Url: http://apache.opensourceresources.org/httpd/httpd-2.0.63
-- extract http tar.gz
-- extract http tar.gz
-- tar xvf httpd-2.0.63.tar.gz
-- cd httpd-2.0.63
-- ./configure --prefix=/usr/local/apache2/ --enable-modules=so --enable-mods-shared='rewrite' --enable-'ssl' --with-'ssl'
OR
./configure --prefix=/usr/local/apache2/ --enable-modules=so --enable-module=rewrite --enable-ssl --with-ssl
-- make
-- make install
Php Installation guide: version 5.3.0
Url: http://www.php.net/get/php-5.3.0.tar.gz/from/au.php.net/mirror
-- extract PHP tar.gz
-- tar xvf php-5.3.0.tar.gz
-- cd php-5.3.0
-- ./configure' '--with-oci8=/dbdata/u01/app/oracle/product/9.2.0' '--with-mysql=/usr/bin/mysql' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-curl=/usr/bin' '--with-gd' '--with-zlib' '--with-jpeg-dir=/usr/lib' '--with-curl=/usr/bin/curl' '--with-openssl' '--with-mime-magic' '--with-pear=/usr/share/pear' '--enable-sigchild' '--with-freetype-dir=/usr/include/' '--enable-sockets' '--enable-mbstring=all'
-- make
-- make install
TO TEST THE PHP:
-- Go to /home/user directory
-- create public_html
-- vim phpinfo.php
-- insert the following line
phpinfo()
?>
-- Then save the file using :wq! then enter
-- Go to (/home) type (chmod 775
ex: chmod 775 ace -R
-- In your firefox mozilla type this in address bar
>> http://
ex: http://192.168.8.19/~ace/phpinfo.php
-- In test page you will see the version and logo of the php.
No comments:
Post a Comment