From:             [EMAIL PROTECTED]
Operating system: AIX
PHP version:      4.1.1
PHP Bug Type:     Apache related
Bug description:  PHP path prints when PHP compiled as a CGI

I compiled 4.1.1 as a cgi, and whenever i put the path to PHP in
#!/path/blah, it'll print out #!/path/blah as the first text of the file,
then execute the script. If i take out the #!/path/blah, it will give me
the normal cgi 500 error, premature end of script headers. This can be
seen at http://students.washington.edu/caetin/blah.cgi , which contains: 

vergil01% cat blah.cgi
#!/nfs/guido01/dw05/d75/caetin/php

<?  phpinfo(); ?>

for example, i also made http://students.washington.edu/caetin/blah2.cgi
which doesn't have the shebang. It gives the 500 error. 

Both files are chmod' to 755 as well. 
-- 
Edit bug report at http://bugs.php.net/?id=15560&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15560&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15560&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15560&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15560&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15560&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15560&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15560&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15560&r=submittedtwice

Reply via email to