RE: [PHP] Re: Really Annoying Require/Include Error

From: Date: Tue, 30 Mar 2004 18:06:22 +0000
Subject: RE: [PHP] Re: Really Annoying Require/Include Error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-181844@lists.php.net to get a copy of this message
> -----Original Message----- > > I am getting this error: > > > > > > > > Fatal error: Failed opening required > > '/home/sites/site111/web/news/settings/newsletter.settings.inc.php' > > (include_path='') in > > /home/sites/site111/web/news/forms/sign_in_out_form.inc.php on line 7 > > > > > > From this piece of code: > > > > require > > ("/home/sites/site111/web/news/settings/newsletter.settings.inc.php"); > > Based on this path I'm assuming you use Linux? If that's the case you > need to be sure that your webserver has permissions to execute that > file. To test this, try chmod 777 and then execute the script... but > later chmod to something more sane, maybe 755. > Yes, Linux. I checked the permission - set the whole directory to 777, no change in the problem. Is there anything in the compiling of php or ini settings that would affect include or require statements? :) Thanks, -Mike

« previous php.general (#181844) next »