1 |
Hello |
2 |
I set max_execution_time to 30 in php.ini file (i also checked in phpinfo). |
3 |
max_input_time is set to 45. |
4 |
|
5 |
But when I use in script something like that: |
6 |
|
7 |
while ( 1 == 1 ) |
8 |
or |
9 |
for ( $i=0; $i < 10000000000000000000000000000000000000000; $i++) |
10 |
|
11 |
{ |
12 |
echo "\n".$i; |
13 |
} |
14 |
|
15 |
|
16 |
it doesn't work - execution of script lasts for unlimited time. |
17 |
|
18 |
of course I executed it via apache (I read that this limit doesn't work |
19 |
while executing in console) |
20 |
|
21 |
is it bug or am i doing something wrong? |
22 |
|
23 |
regards |
24 |
nichu |