Process() cutting out.

See all posts See thread Reply

Re: Process() cutting out. new!
by Joseph, 16 years, 3 months ago
I am currently running this on my own server so I can change the memory limit.

When I transfer this over to a shared hosting, I might not be able to change it.

If the hosting doesn't allow the additional memory, is there any way to exit the script without a fatal error.

Where I am using this code, it is necessary to be able to exit in a normal fashion in the case of an error.

Thanks for your helpReply
Re: Process() cutting out. new!
by colin, 16 years, 3 months ago
I don't think you can catch this error, as it is a fatal error. Moreover, if you are running out of memory, PHP will not have any more memory to use to actually deal with the error with an error handler. See here.Reply