|
Posted by Daniel Tryba on 07/01/05 15:45
In comp.lang.php Tomislav Bilic <tomislav_removethis@escapestudio.net> wrote:
> while (!feof($handle)) {
> $buffer.=fread($handle, $chunksize);
> }
> fclose($handle);
> $this->rdf_content=$buffer;
Couldn't you use a SAX parser to avoid reading the whole file into
memory?
> After cca. 5-10 minutes of execution, error occures:
>
> CGI Timeout
> The specified CGI application exceeded the allowed time for processing.
> The server has deleted the process.
>
> I changed max_execution_time from php.ini from 300 to 30000, but that
> didn't help.
>
> Does anybody have experience with it?
There are many timeouts that can happen, this one is propably not from
PHP since you changed the max_execution_time timeout, so maybe it is the
webserver that decides the script took to long, maybe it's a limit in
the OS you are using. It may even be the client.
FUP to c.l.p
[Back to original message]
|