|
Posted by Jerry Stuckle on 02/03/07 03:13
kwest wrote:
> Carl,
>
> Yes that is the weird thing, I gave read and execute permission to the
> incude I even chmoded them all to 777 to debug the problem and still
> get the same error.
>
> If I run the script from the command line it works. So am guessing it
> has to be something with Apache. I am using Apache 2 if that helps.
>
> Thank You
>
> - Ken
>
>>> Carl.
>> Sorry, that didn't come out right at all.
>>
>> What I meant to ask was if the apache user had read access each script
>> you are trying to include? I don't believe that execute permission is
>> required.
>>
>> Carl.
>
>
Carl,
PHP scripts are not executed. They are interpreted. You should not
have execute privileges on them.
Your error message indicates the Apache user does not have read access
to the scripts. But this can also show up if you give the file too many
privileges - like 777.
Try just giving it read access to everyone. Or make the Apache user a
member of the group which owns the file and give the file group read access.
Of course, you could also make the apache user the owner of the file.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|