|
Posted by NC on 05/19/06 18:53
comp.lang.php wrote:
>
> I am having memory timeout issues involving image
> manipulation with extremely large images (800K - 2mb).
There is no such thing as a "memory timeout". You can have an
out-of-memory error (the script does not have enough memory to complete
what's required of it), or you can have a timeout (the script runs past
its allotted time). The former is controlled by memory_limit directive
in php.ini, the latter, by max_execution_time in php.ini and HTTP
server's timeout setting, whichever is shorter.
In your case, it apprears that you have an out-of-memory error. So
deal with it accordingly -- increase memory_limit. Note that you may
be able to do it from the script itself:
ini_set('memory_limit', '20M');
> I cannot find the standalone executable file that will ensure
> I can run GD from the command line.
There is no such file. GD is a library. If you want to access its
functionality from a command-line program, you need to write that
program or use a program someone else wrote. Check out Martin
Gleeson's fly:
http://martin.gleeson.com/fly/
Alternatively, you can install ImageMagick, which does include a
command-line executable...
Cheers,
NC
Navigation:
[Reply to this message]
|