Re: PHP and MySQL and resouce limits
| From: | Matt Darby | Date: | Thu, 21 Jul 2005 00:51:03 +0000 |
| Subject: | Re: PHP and MySQL and resouce limits | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219082@lists.php.net to get a copy of this message | ||
John Hinton wrote:
I don't get it... I have been upping my memory limit for PHP. 32megs now... and am making calls to a database on a different server. I see the loads run up on the other server as it cruches the numbers.. and PHP is in the process of creating a single little page with about 40 numbers on it, from these returns. Now, I do know I'm crunching a LOT of data in this instance, but it seems like MySQL is doing the work and that PHP shouldn't be hitting 32 my 32meg wall. Running the same query on a smaller dataset doesn't hit this limit, so I know it's not a function of the PHP code itself. So, I must be missing something, why is PHP somehow tied to the work MySQL is doing? As in memory usage.... seems that MySQL should be simply sending PHP the returns on its commands... hmmmmm.... Thanks, John HintonAre you sure your query is correct? This happens to me sometimes if the query is rather crazy... Matt Darby