[Phpsig] Permissions, PHP scripts

Paul VandenBosch phpsig@kalamazoolinux.org
Sun, 24 Mar 2002 20:59:21 -0500


I have a PHP script (openautoclassified) that gives me an Internal Server 
Error when I try to run the configurator.php script.  I want to check the 
permissions of files and directories.

I understand that permissions give the user, group and world authority to 
read, write and execute.  I wonder if someone could explain the difference 
between a permission for a file and a permission for a directory.  If you 
change permission for a directory, does it automatically change all the files 
in that directory?

Also, for PHP, a server-side program, what permission does the server need to 
execute a PHP file?  What permission does a person calling a file from the 
web need to get a PHP file to run?

This is not really a critical question, I'm just playing around with scripts 
and patiently waiting for a package from amazon.com with a few PHP books so I 
can start writing my own stuff.