When I use php -i
at the CLI, I get max_execution_time => 0 => 0
.
But if I use the browser to view <?php phpinfo() ?>
I get max_execution_time
having Local value 30
and Master value 30
.
How come there is a difference in value.
Update
- I have seen 2 php.ini files and went away with idea that different values arises due to different files being accessed.
- The slight problem in this my own case is that both the CLI and Browser are pointing to
/usr/local/lib/php.ini
hence it is supposed to loading from the same file, so how come different values.