PHP 4.0 Bug #7148 Updated: PHP 4.0.3 | Apache's VirtualHosts | Segfault if .html is called.

From: Date: Tue, 05 Dec 2000 07:04:52 +0000
Subject: PHP 4.0 Bug #7148 Updated: PHP 4.0.3 | Apache's VirtualHosts | Segfault if .html is called.
Groups: php.dev 
Request: Send a blank email to php-dev+get-40078@lists.php.net to get a copy of this message
ID: 7148 Updated by: sniper Reported By: jd@linuxgod.net Status: Closed Bug Type: Apache related Assigned To: Comments: There was a fix after my last comment (related to mod_perl) so please try latest snapshot from http://snaps.php.net/ instead. Reopen this bug report if problem still persists with snapshot or PHP 4.0.4. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-12-04 09:12:47] sniper@php.net Could you please try PHP4.0.4RC3 to check if this problem still exists: http://www.php.net/distributions/php-4.0.4RC3.tar.gz --------------------------------------------------------------------------- [2000-10-12 00:55:58] jd@linuxgod.net When installing from PHP 4.0.0 to 4.0.3 with Apache/1.3.12 (Unix) PHP/4.0.3 mod_perl/1.24 on Linux 2.2.16. Calling VirtualHost will cause Apache to crash/Segfault. EX: Your main site is www.somthing.com this main site runs PHP 4.0.3 with mysql 3.22. You have a virtual host site named www.somthing1.com that does not use php, but html. if www.somthing1.com is called Apache will segfault if its running with PHP 4.0.3. And shows "Document contains no data" in netscape. error_log: [Wed Oct 11 23:37:28 2000] [notice] child pid 28988 exit signal Segmentation fault (11) [Wed Oct 11 23:37:39 2000] [notice] child pid 28987 exit signal Segmentation fault (11) This was made when calling http://bellsouth.linuxgod.net/ and http://www.hookupwithus.com in the following httpd.conf file. <VirtualHost www.linuxgod.net> ServerAdmin jd@linuxgod.net ServerName www.linuxgod.net DocumentRoot /home/WWW/public/htdocs/ ServerPath / </VirtualHost> <VirtualHost bellsouth.linuxgod.net> NameVirtualHost bellsouth.linuxgod.net ServerAdmin jd@linuxgod.net ServerName bellsouth.linuxgod.net DocumentRoot /home/WWW/domains/bellsouth/ ServerPath / </VirtualHost> <VirtualHost www.hookupwithus.com> ServerAdmin jd@hookupwithus.com ServerName www.hookupwithus.com DocumentRoot /home/WWW/domains/hookupwithus.com/ ServerPath / </VirtualHost> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7148

« previous php.dev (#40078) next »