[ILUG] php as cgi & bang path

Gavin McCullagh gavin at fiachra.ucd.ie
Tue Feb 5 21:50:46 GMT 2002


Hi all,

I wonder could I get some help.  I have php running as a cgi (don't ask).
For whatever reason unless I put 

#!/path_to_php_binary

at the top of each script, nothing will work ("Internal Server 
Error").  This would be fine except
that PHP echoes this path onto the webpage.  How can I 

a) remove the path?  I'm guessing it's something configured wrong in
apache.

or 

b) get it not to echo it

Sorry, I know I should be off RTFMing but I'm ina  abit of a rush to get this up
right now.

Gavin






More information about the ILUG mailing list