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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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: Fri Apr 26 20:01:29 2024 UTC