I recently created a Java frontend for a PHP web-service which uses PHPs SoapServer.
My application is performing a long-running data synchronization and from what I know from PHP I prepared myself to get closed connections because of the max_execution_time limit.
But I never get any kind of error, as if the SoapServer instance is running forever.
My best guess here, is that I don’t really understand how SoapServer is working. So, can anyone shed some light on this? Is SoapServer not affected by the max_execution_time?
EDIT: In my tests max_execution_time is set to 5 minutes, but my program is running for hours.
If the
max_execution_timeis set to 0, either in your php.ini or by usingini_set()orset_time_limit()in your script, then there would be no limit. Could this be the reason?Edit: Also, I just noticed this in the manual:
Perhaps you aren’t getting cut of because most of the time is spent on streaming data or executing queries, which according to this, would not count towards the time limit.