Very odd.  Did you install apache/php/mysql from source, or from debs?

IIRC, when installing the debs (at least in unstable) it asks to run
apacheconf to set things up.  I do remember having to go in and
manually set the mime-type config for .php files, however.  I don't
recall having to touch the Add/LoadModule lines (although it'd be a
good idea to check)

Here's the general set of debs I have apt install:

apache php4 php4-dev php4-imap php4-gd php4-mysql mysql-server
libapache-mod-perl libapache-dbi-perl libdbi-perl libdbd-mysql-perl

I think that's everything - if you don't want mod_perl, you can leave
out the last four pretty safely.

-b3

On Wed, May 16, 2001 at 05:09:21PM +0800, Keneth wrote:
> The line has been added! and I feel that there is something wrong with the
> httpd.conf. I added manually below code by myself, but doesnt seem to load
> the php modules
> 
> AddModule php4_module mod_php4.c
> LoadModule php4_module /usr/local/apache/modules/libphp4.so
> 
> Besides I coudlnt find libphp.so after following the install guide come with
> the PHP-4.0.5 too.
> 
> I am using Apache_1.3.19 and mysql.
> 
> Could you help?
> From: "Kevin Ross" <[EMAIL PROTECTED]>
> To: "Keneth" <[EMAIL PROTECTED]>; <debian-user@lists.debian.org>
> Sent: Wednesday, May 16, 2001 5:03 PM
> Subject: Re: PHP
> 
> 
> > > Please help, my apache only load the content of a php instead of runnnig
> > it.
> >
> > Make sure you have a line in your httpd.conf file which reads:
> >
> > AddType application/x-httpd-php .php
> >
> > or, for PHP3:
> >
> > AddType application/x-httpd-php .php3
> >
> >
> >
> >
> >
> [EMAIL PROTECTED]
> >
> 
> 

-- 
Brent Bourgoine                                            [EMAIL PROTECTED]
----------------------------------------------------------------------
Geek Code Version: 3.1
G d- s+:+ a- C++++$ UBL+++$>++++ P+$>+++ L++$>++++ E$>++ W+++$ N++ o?
K w--- O M- !V PS+++ PE Y+ PGP++ t+ 5++ X+ R(++) tv(+) b+++ DI++++ D++
G e h r++(+++) y?(+++)
----------------------------------------------------------------------

Reply via email to