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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: chris at nethernet dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Mar 12 11:01:32 2025 UTC