#!/usr/bin/php appears in the output
| From: | Matthew Baker | Date: | Wed, 07 Aug 2002 15:50:37 +0000 |
| Subject: | #!/usr/bin/php appears in the output | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-111525@lists.php.net to get a copy of this message | ||
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
How do you prevent that happening?