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

From: Date: Mon, 03 Jan 2005 16:41:37 +0000
Subject: Re: unable to write a text file larger than 10Mb
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-205532@lists.php.net to get a copy of this message
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@meidomus.com> > To: "Sagar C Nannapaneni" <sagar@rythumithra.com> > Cc: <php-general@lists.php.net> > Sent: Monday, January 03, 2005 3:37 PM > Subject: Re: [PHP] 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

« previous php.general (#205532) next »