running php scripts as cgi

Markku Kolkka markkuk at tuubi.net
Tue Apr 5 12:30:13 UTC 2005


Ankush Grover kirjoitti viestissään (lähetysaika tiistai, 5. 
huhtikuuta 2005 10:51):
>
> I did added AddHandler cgi-script .php in httpd.conf
>
> and i also added #!/usr/bin/php in that script.
>
> But whenever i tried to access that script through browser it
> says i don't have the access .

It could be a SELinux configuration problem. Do you get any 
SELinux messages in the log when trying to run the script? See 
also: 
http://fedora.redhat.com/docs/selinux-apache-fc3/sn-suexec-and-cgi-scripts.html

-- 
 Markku Kolkka
 markku.kolkka at iki.fi




More information about the fedora-list mailing list