I use the following to display max_execution_timeserver settings PHP:
echo 'max_execution_time = ' . ini_get('max_execution_time') . '';
Returns the value as 0.
However, when I check phpinfo(), it shows the value 30.
Can anyone suggest why it is ini_getnot returning the correct value? All other settings will return the correct value.
Using php 5.3.28.
Many thanks.
source
share