[PHP-DEV] PHP 4.0 Bug #9903 Updated: Premature end of script From: drgray <email protected>
Date: 04/04/01

ID: 9903
User Update by: drgray <email protected>
Old-Status: Feedback
Status: Open
Bug Type: Apache related
Description: Premature end of script

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.

Previous Comments:
---------------------------------------------------------------------------

[2001-03-31 09:22:09] cynic <email protected>
what are the relevant lines from your httpd.conf?

---------------------------------------------------------------------------

[2001-03-21 12:35:27] drgray <email protected>
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.
 

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=9903

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>