Not a bug PHP Timeout and PHP Info Wrong


Well-known member
This has had me baffled for a while now. I've quadruple checked the PHP configuration files, reboot the server just to be safe and until now couldn't figure out what was happening. And I'm still not completely sure why it is.

On a certain site, some XF operations, such as setting registered user group permissions time out with this error: Fatal Error: Maximum execution time of 120 seconds exceeded

That isn't usually a huge problem, so I increased the time out to 180 seconds. But the error still happens.

So, I go to admin->tools->phpinfo and here's what it shows for the local value...

Now, under normal circumstances I've believe that and hunt further. BUT an echo ini_get('max_execution_time'); shows 180 seconds as set for the site.

AND, running the native phpinfo() also shows 180 seconds.

So something in XF is changing that value and I'm unable to change it to a higher value.