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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: simon dot sharp at uniqueairport dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Aug 12 17:00:02 2025 UTC