php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #27545 premature end of script headers
Submitted: 2004-03-10 01:48 UTC Modified: 2004-03-10 12:13 UTC
From: simon dot sharp at uniqueairport dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 5.0.0b4 (beta4) OS: win xp
Private report: No CVE-ID: None
 [2004-03-10 01:48 UTC] simon dot sharp at uniqueairport dot com
Description:
------------
when i install php 5.0.0 b4 with the manual over apache i get an error from apache

premature end of script headers

In your documentation, installing goes like this:
ScriptAlias /php/ "C:/PHP/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

but to get the programm running you have to start php-cgi.exe because php.exe throws an error.

ScriptAlias /php/ "C:/PHP/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php-cgi.exe"

Reproduce code:
---------------
only open url

Expected result:
----------------
that php runs

Actual result:
--------------
intrnal server error in browser window

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-10 12:13 UTC] nlopess@php.net
This is already documented in the Migration appendice.
In PHP 5, the cgi version changed its name to php-cgi.exe
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 02 14:01:32 2024 UTC