Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
December 2, 2005, 12:16 pm
rate this thread
I am using a product called Actinic to develop a shopping cart. This
creates a subfolder named ACATALOG into which it loads all of its
files. The permissions for this folder is set to 777.
I have set up a page in the package to call a .PHP page. When I try to
run the PHP page I get the error message:
"A file permissions error has occurred running this script.
Please check that the script and the directory that it's in are only
writable by the site administrator.
If this error persists, please contact the server administrator."
The shared hosting company says that the folder permissions should be
set to 711 drwx--x--x or 755 drwxr-xr-x
I am unable to change the permissions of the folder or put the the
file in a different folder due to the Actinic package constraints.
Is there anything I can do to get this to work?
Any help would be appreciated.
Re: Folder permissions problem trying to run a PHP script
working from /var/www/html (or whatever) check the owner and group of
that. It should be apache:apache (or nobody:nobody). Whatever the user
and group of that folder is change it so that ACATALOG is the same.
- » To all OOP eggheads out there. I need A bit of design help
- — Previous thread in » PHP Scripting Forum