[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] PHP3 on RaQ3 install not so easy (missinglib's again)



Marco,
 
Check your srm.conf file to be certain it contains an uncommented directive:
 
    AddType application/x-httpd-php3 .php3
 
This tells Apache that php handls files which end in ".php3" 
 
--Brett
-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx [mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of Atlantis Development Department
Sent: Wednesday, March 01, 2000 11:21 AM
To: cobalt-developers@xxxxxxxxxxxxxxx; alex@xxxxxxxxxxx; bb2@xxxxxxxx
Subject: Re: [cobalt-developers] PHP3 on RaQ3 install not so easy (missinglib's again)

Brett,
thanks for the reply, i resume my installation procedure.

To install PHP-MYSQL on the COBALT RAQ3 i follow these steps:

1) Downloaded all files from ftp://ftp.cobaltnet.com/pub/experimental/raq3/
2) Executed theese commands:

from the files directory:

rpm -i freetype-1.2-7.i386.rpm
rpm -i freetype-devel-1.2-7.i386.rpm
rpm -i freetype-utils-1.2-7.i386.rpm
rpm -i gd-1.3-5.i386.rpm
rpm -i gd-devel-1.3-5.i386.rpm

rpm -i mod_php3-3.0.7-4.i386.rpm
rpm -i php-3.0.14-2.i386.rpm
rpm -i php-manual-3.0.14-2.i386.rpm
rpm -i php-mysql-3.0.14-2.i386.rpm
rpm -i php-pgsql-3.0.14-2.i386.rpm

all correctly installed...
3) Then i modified the file httpd.conf and srm.conf like this:

The file httpd.conf modified to activate php module:

was
LoadModule php3_module         modules/libphp3.so
but the proper path is
LoadModule php3_module        /usr/lib/apache/libphp3.so

The file srm.conf modified to activate php module:

added to the srm.conf the index.php3 in the DirectoryIndex line

4) Finally, i've stopped and restarted the httpd, it starts, but no php3 script is executed...

There is some other configuration file to modify?

Marco

bb2 wrote:

When I installed as per these instructions, I also found that not only was
php not running, but apache failed to restart as well.  I checked the line
which activates the php module in /etc/httpd/conf/httpd.conf and found it
was this:

LoadModule php3_module         modules/libphp3.so

but the proper path is

LoadModule php3_module        /usr/lib/apache/libphp3.so

Hope this helps...

Brett Barron
Kaleidoscope