[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Install php 4 on raq 3
- Subject: [cobalt-users] Install php 4 on raq 3
- From: "Dave Thomas" <yankeehater2@xxxxxxxxxxx>
- Date: Wed Nov 7 19:56:24 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello, I just want to confirm settup of php 4 on raq 3
so I don't crush my system or pull my hair ;)
I ftp to get the tarball
and untar
cd php-4.0.3pl1
./configure --with-mysql --with-apxs (And others)
make
make install
vi php.ini-dist
sendmail_path = /usr/sbin/sendmail -t -i
cp php.ini-dist /usr/local/lib/php.ini
cd /etc/httpd/conf
pico srm.conf
## add to srm.conf:
DirectoryIndex index.html index.htm index.shtml home.html home.htm index.php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
## 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
Did I miss anything?
Thanks :)
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp