PHP 4.0 Bug #4397: Cannot run PHP4 in cgi mode
| From: | tt930 at hotmail dot com | Date: | Thu, 11 May 2000 13:56:11 +0000 |
| Subject: | PHP 4.0 Bug #4397: Cannot run PHP4 in cgi mode | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18611@lists.php.net to get a copy of this message | ||
From: tt930@hotmail.com
Operating system: RedHat 6.2
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Scripting Engine problem
Bug description: Cannot run PHP4 in cgi mode
I configured php4 in both Apache (1.3.12) module mode and cgi mode. The module mode works fine (as
php script in HTML), but in cgi mode keep getting 'Internal Server Error' in the browser.
And 'Premature end of header' in the Apache error log.
When I ran the php cgi in command prompt, it is ok. And perl cgi works fine in the same directory
using the same file owner and file permission. Hence, nothing wrong with Apache configuration to run
cgi.
The same problem occurred in RC01 as well.
Any clue ?
Thanks,
Tony Tang.