Re: #!/usr/bin/php appears in the output

From: Date: Wed, 07 Aug 2002 16:31:26 +0000
Subject: Re: #!/usr/bin/php appears in the output
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-111533@lists.php.net to get a copy of this message
On Wed, 7 Aug 2002, Matthew Baker wrote: >-When you are running scripts in the cgi-bin directory of a web server (set >-up so that they run as each user) then you start them with the line: >- >-#!/usr/bin/php >- >-but when the script is run with: >- >-http://www.myuser.myserver.com/cgi-bin/script.php >- >-then the first line sent back to the browser is #!/usr/bin/perl PERL?? Try this... #!/usr/bin/php -q Worth a try, but probably not the final answer. >- >-How do you prevent that happening? >- >- >--- >-PHP General Mailing List (http://www.php.net/) >-To unsubscribe, visit: http://www.php.net/unsub.php >- ************************************** John Huggins VANet jhuggins@va.net http://www.va.net/ **************************************

« previous php.general (#111533) next »