PHP 4.0 Bug #9903 Updated: Premature end of script

From: Date: Wed, 04 Apr 2001 12:51:58 +0000
Subject: PHP 4.0 Bug #9903 Updated: Premature end of script
Groups: php.dev 
Request: Send a blank email to php-dev+get-50835@lists.php.net to get a copy of this message
ID: 9903 User Update by: drgray@med.unc.edu 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@php.net what are the relevant lines from your httpd.conf? --------------------------------------------------------------------------- [2001-03-21 12:35:27] drgray@med.unc.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. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=9903

« previous php.dev (#50835) next »