Re: unable to write a text file larger than 10Mb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 10Mb, I'm guessing you could be hitting the Memory limit in php.ini

I have NO IDEA why anybody would try to cram all of a MySQL dump into RAM
before writing it to disk or sending it out to the browser, but that might
be what's happening.

That said -- show us your class and its source code.

It should not be that much code...


Sagar C Nannapaneni wrote:
> yes,,
>
> I'm sure that my script is not timing out...
>
> Also i set mysql connection timeout to max.
>
> /sagar
> ----- Original Message -----
> From: "Burhan Khalid" <phplist@xxxxxxxxxxxx>
> To: "Sagar C Nannapaneni" <sagar@xxxxxxxxxxxxxxx>
> Cc: <php-general@xxxxxxxxxxxxx>
> Sent: Monday, January 03, 2005 3:37 PM
> Subject: Re:  unable to write a text file larger than 10Mb
>
>
>> Sagar C Nannapaneni wrote:
>> > Hello All,
>> >
>> > This is very imp and urgent for me. I've a very large db on my remote
> website. I want to get a backup of that db. phpmyadmin is installed on the
> server..but if failed to create the backup (may b coz of the time outs).
> so
> i wrote my own class to get the backup. Its working fine except that PHP
> is
> not able to write a file larger than 10Mb. I've tried to export the data
> to
> Excel...The same problem repeated again. Is there any parameters to change
> in php to make it write larger files...???
>>
>> Are you sure your script isn't timing out?
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux