drwxr-xr-x 3 web web 4096 Jul 14 2004 .
drwx--x--x 7 web web 4096 May 11 10:26 ..
drwxr-xr-x 2 web web 4096 Oct 9 2003 backup
-rw-r--r-- 1 web web 9681 Jul 14 2004 browser_detect.php
-rw-r--r-- 1 web web 9602 Oct 8 2003 calendar.php
-rw-r--r-- 1 web web 279 Oct 8 2003 header.php
-rw-r--r-- 1 web web 2311 Nov 10 2003 mDataAUTH.php
-rw-r--r-- 1 web web 2046 Jan 13 2004 mDataTS.php
-rw-r--r-- 1 web web 2326 Mar 15 2004 mLocDev.php
-rw-r--r-- 1 web web 2315 Nov 10 2003 mLocPro.php
-rw-r--r-- 1 web web 2313 Nov 10 2003 mRobMC.php
-rw-r--r-- 1 web web 2308 Jun 24 2004 mTKS.php
-rw-r--r-- 1 web web 218 May 7 2004 param_includes.php
-rw-r--r-- 1 web web 2348 Mar 29 2004 sDevMC.php
-rw-r--r-- 1 web web 2314 Nov 10 2003 sLocPro.php
-rw-r--r-- 1 web web 2337 Nov 10 2003 sRobMC.php
-rw-r--r-- 1 web web 0 Jul 14 2004 test.php
-rw-r--r-- 1 web web 0 Jun 21 2004 Text1
-rw-r--r-- 1 web web 204 Jun 24 2004 tks_includes.php
Changing the owner of these files to apache doesnt make any difference either.
Looks to me like it may still be a permissions issue. It can't find the file because it cannot read the directory, and it can't read the file so it bounces permission denied. What user is apache(http) run as (ps –ef), and what are the permissions of the directory? (ls –la /home/web/includes)
If it were version problems, you'd likely see it in the php reporting. Apache proxying the error for php. Have you looked at the error log? Look for ERROR in the config. There is also a descriptor for the log location.
P
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]]
Sent: Wednesday, May 18, 2005 11:14 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Migrating to new server
We have an old PC running RedHat 7.3 with Apache 1.3.29 (i think) and it serves out some PHP/MySQL content to our internal users. I migrated everything on this machine over to a new Server running CentOS 4.0 (Apache 2.0.52).
Here are the details
Old Box New Box
PHP 4.1.2 PHP 4.3.9
MySQL 3.23 MySQL 4.1.10
Apache 1.3.29 Apache 2.0.52
After migrating everything over we are seeing failures when we add an include directory. I modified the php.ini to add the includes directory, in this case /home/web/includes.
On the old server all worked well, but on the new server I get an error stating that it cant find the file (which is there) in the includes directory. If we put the entire path in the PHP script to the includes dir, then we get a permission denied error.
The permissions on both servers are the same.
I guess my question is this.
Is this an Apache error or a PHP error.
Everything worked fine on the old box with identical settings, but it isnt working on the new box.
Any suggestions on where to start looking.
I did verify permissions are good etc, but maybe i missed something.
--
Richard Humphrey
--
Richard Humphrey