Re: Failed opening 'mysql.inc' for inclusion (include_path
- From: Guillaume <ggrason@xxxxxxxxx>
- Date: Fri, 21 Mar 2008 12:21:53 +0100
Jerry Stuckle a écrit :
Álvaro G. Vicario wrote:*** Bob escribió/wrote (Thu, 20 Mar 2008 10:23:08 -0700 (PDT)):Yep sure enough, my /home/jeff directory was drw--------
and the server that worked was +rx That would do it!
I assumed it was ok, I think I set it that way long ago
for security reasons. UGH, nothing like shooting yourself in
the foot!
That's right. You mentioned you run PHP as Apache module so your web site
will be accessed by an user called "apache". He needs "x" permission in
"/home/jeff" and at least "rx" permission in "/home/jeff/src".
Glad you found it :)
Web server scripts are not executed, and do not need the x flag (in fact should not have, for security reasons). The module is what is executed.
Batch file scripts only need the x flag if they use they use a shebang to identify the interpreter. If they are passed as a parameter to the interpreter, they do not need th x flag.
He did not mention the scripts, but only directories. And yes, the webserver need executables directories or he can't list/read files in it.
Regards,
--
Guillaume
.
- References:
- Failed opening 'mysql.inc' for inclusion (include_path
- From: Bob
- Re: Failed opening 'mysql.inc' for inclusion (include_path
- From: Álvaro G. Vicario
- Re: Failed opening 'mysql.inc' for inclusion (include_path
- From: Bob
- Re: Failed opening 'mysql.inc' for inclusion (include_path
- From: Bob
- Re: Failed opening 'mysql.inc' for inclusion (include_path
- From: Álvaro G. Vicario
- Re: Failed opening 'mysql.inc' for inclusion (include_path
- From: Jerry Stuckle
- Failed opening 'mysql.inc' for inclusion (include_path
- Prev by Date: Re: Skins (styles), views... how many files?
- Next by Date: poor documentation
- Previous by thread: Re: Failed opening 'mysql.inc' for inclusion (include_path
- Next by thread: next day of the week logic problem
- Index(es):
Relevant Pages
|