Re: chmod, apache and php
- To: debian-user@lists.debian.org
- Subject: Re: chmod, apache and php
- From: GCS <gcs@lsc.hu>
- Date: Sat, 3 Jan 2004 11:28:27 +0100
- Message-id: <[🔎] 20040103102827.GA28784@lsc.hu>
- In-reply-to: <1072819394.2137.1.camel@medion>
- References: <1071525627.1202.10.camel@medion> <1071525627.1202.10.camel@medion> <20031217214809.GD13640@ooder.ertius.org> <1071946520.817.0.camel@medion> <20031221085804.GA22637@ooder.ertius.org> <1072819394.2137.1.camel@medion>
On Tue, Dec 30, 2003 at 10:23:14PM +0100, Stephen Turner <sturner@myrealbox.com> wrote:
> > > > > But, after some clearing up. My folders where a mess. So i moved the php
> > > > > folder, to a new slot. Made sure that all the permissions where still
> > > > > 775. But now apache is telling me, that i do not have permissions to go
> > > > > to that folder.
> > > > >
> > > > > What is going on?
> > > >
> > > > Does apache have permission to read and execute every single directory
> > > > below it, all the way down to /?
> > >
> > > Yes. All have been set to 775. But it still gives me the same message.
Are you really sure that _directories_ has 775 as well? If Apache
serves php files from say, /var/www/ but not from /var/www/new_folder/ ,
then that's the reason. Check with 'ls -ld /var/www/new_folder/'
> Yes PHP is loaded. I have PHP and PHP3.
Do you mean you have PHP4 and PHP3 on the same box? At least the Debian
PHP3 package conflicts with PHP4, as they can't co-exists on the same
httpd server.
Cheers,
GCS
Reply to: