php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9475 shebang appearing with suexec
Submitted: 2001-02-27 05:29 UTC Modified: 2001-03-02 05:03 UTC
From: cirdan at hem2 dot passagen dot se Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.4pl1 OS: RH 6.1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cirdan at hem2 dot passagen dot se
New email:
PHP Version: OS:

 

 [2001-02-27 05:29 UTC] cirdan at hem2 dot passagen dot se
I have installed php-4.0.4pl1 and apache_1.3.14, but there
is a problem with suexec. I have a php script that looks
something like this:

#!/usr/local/bin/php
<?
  echo "hello\n";
?>

When I run it from a shell (./something.php) it just prints
the content-type header and "hello", but when it's started
by suexec it also outputs the "#!/usr/local/bin/php". I
have not been able to find any mention of this problem
anywhere, so I'm quite baffled. If this isn't a bug, I'd
appreciate some feedback on what I'm doing wrong. Thank you.

//C?rdan

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-02 05:03 UTC] cirdan at hem2 dot passagen dot se
Nevermind....

But I think --enable-discard-path should be mentioned all
over the place, or at least in the section on how to
set up php with suexec.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC