RE: [PHP] #!/usr/bin/php appears in the output

From: Date: Wed, 07 Aug 2002 18:10:50 +0000
Subject: RE: [PHP] #!/usr/bin/php appears in the output
Groups: php.general 
Request: Send a blank email to php-general+get-111554@lists.php.net to get a copy of this message
-----Original Message--------------------- From: Matthew Baker To: php-general@lists.php.net 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? ------------------------------------------ Upgrade? I looked this up in the PHP bugs database recently, and it's recorded as fixed in the 4.2.x versions. As you don't say which version you currently have, I can't tell if this is relevant...!! Cheers! Mike

« previous php.general (#111554) next »