[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-user
Subject:    Re: Apache2 and PHP
From:       "Jeremy T. Bouse" <jbouse () debian ! org>
Date:       2004-09-23 21:49:11
Message-ID: 20040923214911.GA23014 () UnderGrid ! net
[Download RAW message or body]

	Did you perform the 'a2enmod php4' to enable PHP4 module support
on Apache2? If you did there should be the php4.conf and php4.load
symlinks under /etc/apache2/mod-enabled/. I have no problems with
Apache2 and PHP4 on my machine at home. I have libapache2-mod-php4 along
with php4 and the php4-<mod> packages I use locally.

	Regards,
	Jeremy

On Thu, Sep 23, 2004 at 05:24:28PM -0400, JoeHill wrote:
> 
> I'm almost there...
> 
> My site relies on some very minor PHP bits on the main page, index.php. I have
> installed:
> 
> node3:/var/www/apache2-default# apt-get install libapache2-mod-php4
> Reading Package Lists... Done
> Building Dependency Tree... Done
> libapache2-mod-php4 is already the newest version.
> 
> as well as the php4 package.
> 
> ...but when I try to load the page from my Mandrake box, I get:
> 
> Warning: Unknown(/var/www/apache2-default/index.php): failed to open stream:
> Permission denied in Unknown on line 0
> 
> Warning: (null)(): Failed opening '/var/www/apache2-default/index.php' for
> inclusion (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line
> 0
> 


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic