PHP 4.0 Bug #3152: PHP crashes whenever doc_root in the php.ini file is modified.

From: Date: Sat, 08 Jan 2000 23:57:16 +0000
Subject: PHP 4.0 Bug #3152: PHP crashes whenever doc_root in the php.ini file is modified.
Groups: php.dev 
Request: Send a blank email to php-dev+get-14436@lists.php.net to get a copy of this message
From: csainz@miami.edu Operating system: Digital Unix PHP version: 4.0 Beta 3 PHP Bug Type: Reproduceable crash Bug description: PHP crashes whenever doc_root in the php.ini file is modified. Digital Unix, Netscape Server, and PHP running in CGI mode. PHP3 works fine. I compiled PHP4 Beta 3 as a CGI with "-with-imap" and "-with-mysql" options, then copied "php.ini-dist" to my /usr/local/lib/ and renamed to php.ini. [Everything works as expected up to this point] Then I edit the php.ini and modify the doc_root entry to contain the directory /u/php3 (where my php scripts are). After making this change and trying to execute a script, the browser returns a "Server Error." The Netscape server error logs the erroras follows: [08/Jan/2000:18:29:28] failure: for host dial-up3.pcnet.miami.edu trying to POST /cgi-bin/php/webmail/login.php3, cgi-parse-output reports: the CGI program /u/c gi-bin/php did not produce a valid header (name without value: got line "------- --------------------------------") If I then edit the php.ini file and delete the /u/php3 from doc_root. Everything works again. Carlos.

« previous php.dev (#14436) next »