From:             [EMAIL PROTECTED]
Operating system: RedHat 7.1
PHP version:      4.1.1
PHP Bug Type:     Apache related
Bug description:  include() causes maxclients in apache.

<?
$loca="http://www.bloodheart.com/php";;
switch ($id) 
{
    //test1
    case blank1:
        $file="$loca/blank1";
    break;
    
    //test2
    case blank2:
        $file="$loca/blank2";
    break;
//test (This is where the bug starts.)    
//    Note if you copy this file to another file and set the default as
thatfilename (with .php ext)
//       Then spawns maxclients for apache, and stays that way forever, a
very nasy loop. or until you restart apache
//        *Example*
//    default:
//        $file="$loca/bug2.php";

    default:
        $file="$loca/blank3";
    break;
}
?>
--CONFIGLINE
./configure --with-mysql=/usr/local/mysql \
--enable-track-vars \
--with-apache=../apache_1.3.22 \
--with-mm=../mm-1.1.3 \
--with-openssl=../openssl-0.9.6c \
--with-config-file-path=/usr/local/lib/php

I don't recall this happening with an earlier version of php.

This just started with 4.1.1

If you need anymore information please let me know
-- 
Edit bug report at: http://bugs.php.net/?id=15292&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to