php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11471 #!/usr/local/bin/php on top of all PHP pages
Submitted: 2001-06-13 15:28 UTC Modified: 2002-02-09 19:49 UTC
From: chris at nethernet dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.5 OS: Slackware-Current (6/11/2001 /w
Private report: No CVE-ID: None
 [2001-06-13 15:28 UTC] chris at nethernet dot com
On Apache-1.3.20 with PHP installed as a CGI binary in 
/usr/local/bin/php, whenever I place a PHP script in my 
cgi-bin, chmod it to 755 (or 777), the script will 
execute, however before any output #!/usr/local/bin/php 
appears on the top.
Command Line
./configure --with-mysql

When I run the script at a shell, it does not output the 
#!/usr/local/bin/php at the top. It executes normally.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-13 15:45 UTC] sniper@php.net
duplicate of #9041


 [2002-02-09 19:49 UTC] mfischer@php.net
This bug has been fixed in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 09:01:27 2024 UTC