Web Hosting Talk







View Full Version : raqzone.com - http://www.raqzone.com/installation_php4.htm


-Edward-
06-12-2001, 01:35 PM
http://www.raqzone.com/installation_php4.htm - anyone got this tutorial since i cant access it i get the forbidden sign.

brandonk
06-18-2001, 12:52 PM
I'll fix that whenever I get a moment long enough to do so..........


Installation php4.0.3pl1 for raq3
cd /root
tar zxvf php4.0.3pl1.tar.gz
cd php-4.0.3pl1
./configure --with-mysql --with-apxs
make
make install
cd /etc/httpd/conf
pico srm.conf
## add to srm.conf:
DirectoryIndex index.html index.htm index.shtml home.html home.htm index.php
^^^^^^^^^^^^
## you can also add index.php4 and index.phtml there if you want..
AddType application/x-httpd-php .php .php4 .phtml
## save file
pico httpd.conf
## change the php4 LoadModule, thats allready added to httpd.conf:
LoadModule php4_module /usr/lib/apache/libphp4.so
## save file
/etc/rc.d/init.d/httpd restart
echo "<? phpinfo(); ?>">/home/sites/home/web/test.php
## test if it works in your browser