[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] $ for someone to install PHP4 on my Raq3
- Subject: Re: [cobalt-users] $ for someone to install PHP4 on my Raq3
- From: "Steve Bassi" <steve@xxxxxxxxx>
- Date: Tue Dec 19 17:37:00 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
It really is easy to do, make sure mysql is installed first.
Please find details below which worked fine for me
{Anyone on the list find anything wrong with this ?}
Logged in as 'root' perform the following commands
cd /usr/local
tar -xvzf php-4.0.3pl1.tar.gz
cd php-4.0.3pl1
mkdir /usr/local/php
mv * /usr/local/php
cd /usr/lcal/php
./configure --with-mysql --with-apxs
make
make install
cp php.ini-dist /usr/local/lib/php.ini
pico -w /etc/httpd/conf/httpd.conf
(Change the line:
LoadModule php4_module lib/apache/libphp4.so
to
LoadModule php4_module /usr/lib/apache/libphp4.so)
pico -w /etc/httpd/conf/srm.conf
Find the following line in srm.conf
#AddType application/x-httpd-php .phtml
After this line, add the line
AddType application/x-httpd-php .php .php4 .phtml
This associates the .php file extension with PHP4
(If you want index.php to be served by default you need also to add this as
well in the section UserDir web of the same file)
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
DirectoryIndex index.html index.htm index.shtml home.html home.htm index.php
index.php4 index.p$
Still logged in as 'root' perform the following commands to stop and restart
the HTTP server
/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/httpd start
Rgds
Steve Bassi
----- Original Message -----
From: "Bill Hooven" <bill@xxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Tuesday, December 19, 2000 10:17 PM
Subject: [cobalt-users] $ for someone to install PHP4 on my Raq3
> Anyone out there have time to install PHP4 on a Raq3 for me TODAY? Please
> respond with a price and when you can do it. Also, optional - how much
and
> how long to install MYSQL (after PHP4, of course).
>
> Thanks!
>
> -------------
> Bill Hooven
> President
> Sundown Media Group, Inc.
> (909) 587-2213
> (800) 782-8226
> www.sundownmedia.com
> ---------------------------------
>
>