Debian, Apache, plus CGI execute problem

Sean picasso@madflower.com
Sun, 15 Oct 2000 16:04:49 -0400 (EDT)


Do you have the proper permissions and ownership on the files? It
wont execute them with your user permissions. 

Also typically CGI's are only allowed to execute in the the /cgi-bin
directory because of permissions set in the apache config file and knowing
debian they probably arent allowed to run at all which also might be the
problem for php. 





On 15 Oct 2000, Ben Pfaff wrote:

> Nick Lewis <lewis@cscw.msu.edu> writes:
> 
> > [Sun Oct 15 22:20:22 2000] [error] (8)Exec format error: exec of
> > /home/www/mail/test.php3 failed
> 
> Apache is trying to execute the PHP3 file in the same way that it
> would a CGI script, essentially as if "/home/www/mail/test.php3"
> were typed at the shell command prompt, and this operation is
> failing.  Is this what it should be doing?  If not, do you have
> the PHP module properly configured?
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
>