Bug #10062 Updated: CGI version displays '#!/usr/local/bin/php' line

From: Date: Sun, 10 Feb 2002 00:51:45 +0000
Subject: Bug #10062 Updated: CGI version displays '#!/usr/local/bin/php' line
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8@lists.php.net to get a copy of this message
ID: 10062 Updated by: mfischer@php.net Reported By: shane.wright@ecustomeropinions.com -Status: Duplicate +Status: Closed Bug Type: *General Issues Operating System: RedHat 7 PHP Version: 4.0.4pl1 New Comment: This bug has been fixed in CVS. Previous Comments: ------------------------------------------------------------------------ [2001-06-14 16:45:17] sniper@php.net of #9041 ------------------------------------------------------------------------ [2001-03-29 13:57:13] shane.wright@ecustomeropinions.com I'm glad it's not an Apache issue, makes life easier :)) yup, file is called test.cgi, chmod 755, ExecCGI enabled in Apache. A hack would be fine... ..so long as it doesn't require root access or changes to Apache's config (which I wouldn't be able to do on the remote machine) Are you thinking of a patch to PHP to forcefully stop it outputting anything before the first newline? That would be ok - but my CGI's need to use a lot of HTTP headers (including HTTP authentication - but that can change if necessary) I was thinking of making them nph-... Regards Shane ------------------------------------------------------------------------ [2001-03-29 13:49:02] jmoore@php.net This isnt an Issue with apache. What are you calling your php file?? .cgi yes? there are some hacks around this but it seems more likley a config problem rather than a bug in PHP.. anu ideas people?? ------------------------------------------------------------------------ [2001-03-29 13:41:54] shane.wright@ecustomeropinions.com They're running 1.3.12 - but that doesn't matter yet as I can't even get PHP to compile there (its Debian with glibc2.1, PHP 4.0.4pl1, same configure options as I said previously, configure runs fine, but make dies half way through - can't work out why though - but thats for another day...) Ah. but if it is an issue with Apache then I'm screwed anyway :(( ------------------------------------------------------------------------ [2001-03-29 13:05:26] jmoore@php.net Hmm I might be wrong there.. What webserver is your ISP running? James ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/10062 -- Edit this bug report at http://bugs.php.net/?id=10062&edit=1

« previous php.bugs (#8) next »