As my provider let large freedom in setting the configuration, and following the suggestion of LordShryku, I finally choosed to extend the memory_limit and max_execution_time in my php.ini.
memory_limit = 64
output_buffering = Off
max_execution_time = 60
But my script still abort. The most critical task, that most memory consuming, fails after around 10secs.
I tried to monitor the memory usage, but the function get_memory_usage() is not defined (I know php has to be rebuilt with a particular option to let using that, but this is out of my control).
Btw my feeling is that the 64-memory limit is not the cause of the failure.
I get NO other message than 500 Internal Server Error.
My setting in php.ini about error messaging are:
display_errors = On
display_startup_errors = On
error_reporting = E_ALL & ~E_NOTICE
log_errors = On
Can that kind of failure make no error message flushed in output ?
In my php.ini:
implicit_flush = Off
Btw, also if On, no message is flushed to the output before the failure.
Help! please