Hi I need to run some pages on my site in CGI mode for security reasons.
I've put #!/usr/local/bin/php at the top of the script in question, and given it the .cgi extension so that apache treats it as a CGI. The script works, but the first thing it does is print out #!/usr/local/bin/php, because that's the first line of the script. If I remove that line, I get an internal server error, because apache doesn't know where php is located. Does anyone have any ideas? --jaa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php