#29309 [Com]: Premature end of script headers: c:/php/php.exe
| From: | arman_c at hushmail dot com | Date: | Thu, 05 Aug 2004 06:32:00 +0000 |
| Subject: | #29309 [Com]: Premature end of script headers: c:/php/php.exe | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-64109@lists.php.net to get a copy of this message | ||
ID: 29309
Comment by: arman_c at hushmail dot com
Reported By: raymondackermann at icqmail dot com
Status: Bogus
Bug Type: Apache related
Operating System: Windows XP
PHP Version: 5.0.0
New Comment:
I also have the same problem, here are the lines in my httpd.conf
file:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "c:/php/php-cgi.exe"
It works even though I changed it to php-cgi.exe. Help would be greatly
appreciated.
Previous Comments:
------------------------------------------------------------------------
[2004-08-02 13:27:00] edink@php.net
You need to use c:/php/php-cgi.exe
------------------------------------------------------------------------
[2004-08-02 12:52:12] erik2049 at hotmail dot com
the same problem :(
------------------------------------------------------------------------
[2004-07-21 19:00:39] raymondackermann at icqmail dot com
Description:
------------
I saved my scripts (with every script is the same thing) in the htdocs
of apache and when I open http://localhost/example.php
then the browser
says:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact ...
Error log says: Premature end of script headers: c:/php/php.exe
I tried to reinstall php and apache but it's always the same thing.
Reproduce code:
---------------
<?php
echo "hi";
?>
Expected result:
----------------
hi
Actual result:
--------------
http://localhost/example.php then the browser says:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact ...
Error log says: Premature end of script headers: c:/php/php.exe
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29309&edit=1