Premature end to script headers

From: Date: Tue, 17 Aug 2004 17:26:42 +0000
Subject: Premature end to script headers
Groups: php.install 
Request: Send a blank email to php-install+get-14143@lists.php.net to get a copy of this message
Using Apache, OS of Windows XP Professional I edited the httpd.conf file and added these lines to the end of it: ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" Then I created a text file called "phpinfo.php" and put it in the DocumentRoot directory (in my case, C:\My Website) with the following line of code: <? phpinfo(); ?> and then tried to access it at http://localhost/phpinfo.php Except I get an Internal Server Error. In the error log: [error] [client 127.0.0.1] Premature end of script headers: php.exe

« previous php.install (#14143) next »