It is very informative, but not resolve the problem, php completely ignored
my max_execution_teme setup with any SAPI, in all cases

2015-06-11 14:57 GMT+03:00 Andrew Kluev <kluev.and...@gmail.com>:

> And php7 not working too.....
>
> php7 -v
> PHP 7.0.0-dev (cli) (built: Mar 30 2015 12:26:36) (DEBUG)
> Copyright (c) 1997-2015 The PHP Group
> Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
>
> 2015-06-11 14:55 GMT+03:00 Andrew Kluev <kluev.and...@gmail.com>:
>
>> It is very informative, but not resolve the problem, php completely
>> ignored my max_execution_teme setup with any SAPI, in all cases
>>
>> 2015-06-11 14:42 GMT+03:00 Johannes Schlüter <johan...@schlueters.de>:
>>
>>> On Thu, 2015-06-11 at 14:25 +0300, Andrew Kluev wrote:
>>> > sleep(3);
>>> [...]
>>> > This is a bug or something I do not know about php?
>>>
>>> Max execution time is working a bit dependent on the operating system.
>>> On Windows it is using the elapsed time ("wall clock time") on Linux
>>> systems the CPU time. Thus on windows the sleep counts whereas on Linux
>>> no time is spent during sleep(). The same difference happens when other
>>> processes are on CPU and your PHP script was taken off CPU for other
>>> reasons.
>>>
>>> For details see MSDN on CreateTimerQueueTimer for Windows and the
>>> setitimer man page with (ITIMER_PROF option) for Linux/Unix for a start.
>>>
>>> https://msdn.microsoft.com/en-us/library/windows/desktop/ms682485%
>>> 28v=vs.85%29.aspx
>>> <https://msdn.microsoft.com/en-us/library/windows/desktop/ms682485%28v=vs.85%29.aspx>
>>> http://linux.die.net/man/2/setitimer
>>>
>>>
>>> johannes
>>>
>>>
>>
>

Reply via email to