[Refdb-devel] PHP files executable
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mar...@mh...> - 2005-09-25 22:06:33
|
Hi David, I'm not sure as I'm not an Apache expert. I simply followed the instructions on the Apache web page how to get PHP scripts executed by Apache. The instructions suggest to make the scripts executable. See e.g. here: http://httpd.apache.org/docs/1.3/howto/cgi.html "Remember that the server does not run as you. That is, when the server starts up, it is running with the permissions of an unprivileged user - usually ``nobody'', or ``www'' - and so it will need extra permissions to execute files that are owned by you. Usually, the way to give a file sufficient permissions to be executed by ``nobody'' is to give everyone execute permission on the file: chmod a+x first.pl" regards, Markus David Nebauer writes: > Hi Markus, > > The PHP files in '/usr/share/refdb/www/' are all set executable. > > Is this necessary? It appears to violate Debian policy -- here is the > output from lintian: > -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |