[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] (RaQ3) Installing PHP4.0.3pl1 step-by-step guide
- Subject: [cobalt-users] (RaQ3) Installing PHP4.0.3pl1 step-by-step guide
- From: Peter Batenburg <petertje@xxxxxxxxxx>
- Date: Thu Nov 9 10:33:23 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
no need to recompile apache..
## 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
At 21:52 4-11-00 +0500, you wrote:
Any one installed php4 (PHP 4.0.3pl1 ) on the raq3? If yes please could some
one let me know how exactly it was done? (commands etc (also was apache
recompiled ?))
Arsalan Mahmud
Nexus Technologies