php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4397 Cannot run PHP4 in cgi mode
Submitted: 2000-05-11 09:56 UTC Modified: 2000-06-28 14:55 UTC
From: tt930 at hotmail dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Release Candidate 2 OS: RedHat 6.2
Private report: No CVE-ID: None
 [2000-05-11 09:56 UTC] tt930 at hotmail dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-17 19:48 UTC] andi at cvs dot php dot net
Please try the latest snapshot at snaps.php.net or the latest CVS and let us know if this is fixed now
 [2000-06-28 14:55 UTC] andi at cvs dot php dot net
This should be fixed in 4.0.1 due to be released tomorrow. If the problem persists please open a new bug report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 28 11:01:30 2024 UTC