ID: 29309 Updated by: [EMAIL PROTECTED] Reported By: raymondackermann at icqmail dot com -Status: Open +Status: Bogus Bug Type: Apache related Operating System: Windows XP PHP Version: 5.0.0 New Comment:
You need to use c:/php/php-cgi.exe Previous Comments: ------------------------------------------------------------------------ [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