469,636 Members | 1,527 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,636 developers. It's quick & easy.

Folder permissions problem trying to run a PHP script

Hi - I have a file permissions problem with PHP.

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.
Dec 2 '05 #1
2 3946
Check the owner and group of the folder ACATALOG. If you have php
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.

Dec 2 '05 #2
Hi sean - thanks for the reply.

I eventually managed to get this working by creating a new directory
in the root that allowed me to set the permissions I wanted.


On 2 Dec 2005 04:57:46 -0800, "Sean" <or**********@gmail.com> wrote:
Check the owner and group of the folder ACATALOG. If you have php
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.

Dec 5 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Kim Lots | last post: by
3 posts views Thread by JA | last post: by
reply views Thread by Jeff | last post: by
6 posts views Thread by Jeff | last post: by
6 posts views Thread by Kuldeep | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.