php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9903 Premature end of script
Submitted: 2001-03-21 12:35 UTC Modified: 2001-04-04 10:25 UTC
From: drgray at med dot unc dot edu Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.0.4 OS: Win98
Private report: No CVE-ID: None
 [2001-03-21 12:35 UTC] drgray at med dot unc dot edu
I installed PHP4.0.4 from the PHP4_win32 distribution on a win98 machine with DUN not connected to internet. Use Netscape and type: http://12.0.0.1/.  The apache test page comes up.  Edited the httpd.conf for PHP and typed: http://12.0.0.1/test.php.

An error about an internal server error was reported on the browser.  The apache error.log had an entry stating" Premature end of script headers in c:/program files/apache/cgi-bin/php/php.exe"

The php.ini file is the defalault from the PHP404.exe setup.  I did confirm the extensions_ line is pointing to my php directory.

I selected the interbase extension only, dm and one other were enabled by default so I left them.  I have MySQL installed on the machine but not running.

I would like to use the machine for local (not connected) development when on the road.
 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-31 09:22 UTC] cynic@php.net
what are the relevant lines from your httpd.conf?
 [2001-04-04 08:51 UTC] drgray at med dot unc dot edu
It looks as though the PHP test page was trying to query the MySQL database and report it's status.  I did not have MySQL or any other database running.

PHP for non-DB scripts runs great and I will re-run test.php with MySQL running later today.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 23:01:28 2024 UTC