Re: php apache server problem

From: Date: Wed, 12 Sep 2001 05:23:49 +0000
Subject: Re: php apache server problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66993@lists.php.net to get a copy of this message
What do you mean by an overloading of the server?... It's possible that your configuration of MySQL number of clients that can connect is lower than the number of httpd children that can live. At some point, you'll have requests asking for MySQL connections, but MySQL won't hand out any more... Check httpd.conf and my.cnf for these numbers. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: | <karakask@itu.edu.tr> Newsgroups: php.general To: <php-general@lists.php.net> Sent: Tuesday, September 11, 2001 3:56 AM Subject: php apache server problem > Hello php-general, > > Ive got a virtual hosted site > at this site Ive got some php files which are taking images from > database but tey stopped operating since a overloading of the server > the code of the taking pictores are here. Is there anyone who has an > idea. > codes are like that > <? > $DB = @MYSQL_CONNECT( $dbserver, $user, $pass) or die("dbserver not > ready"); > @mysql_select_db( $dbname) or die("Veri tabany seçilemedi"); > $Query=mysql_query("select logo from logotable where id='$id'") or > die ("theres no such a thing"); > while ($Result = mysql_fetch_array ($Query)) > { > $logo=$Result["logo"]; > header("Content-type: image/gif"); > echo $logo; > } > > -- > Best regards, > itü mailto:karakask@itu.edu.tr >

« previous php.general (#66993) next »