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

Re: Apache2 and PHP

	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.


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

Reply to: