Re: Reading from XML file
| From: | Ray Hunter | Date: | Tue, 25 May 2004 15:25:13 +0000 |
| Subject: | Re: Reading from XML file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186901@lists.php.net to get a copy of this message | ||
On Tue, 2004-05-25 at 05:03, Ago wrote:
> I have a PHP script who reads data from a XML file uploaded via http form.
> This file is about 15 MB. The script builds a query of thousands inserts as
> many as the products the XML file contains (more or less 40000 inserts).
> After 4 minutes the httpd process aborts by itself. What can it depend on? I
> have also increased the memory_limit parameter in php.ini to 32 MB and
> set_time_limit to 0. What can I do anymore?
> Thanks.
Sounds like you are using a dom parser and not a sax parser. I would
suggest checking on php.net on how to use a sax parser. The xml file
seems to big for the dom parser to really handle.
--
BigDog