0

I'm working in a Cake PHP 2 application, I'm running some big queries that require PHP's max_execution_time setting to be higher than 30 seconds. I've dumped phpinfo() on the page and can see that it's being pulled through, and if I change it from 40 to something like 5, it does exit after 5 seconds.

But anything above 30 seconds and it just exits at 30. What am I missing?

I've tried editing every PHP conf file offered by MAMP pro and still no luck. enter image description here enter image description here

Ryan H
  • 2,620
  • 4
  • 37
  • 109
  • 1
    I never used CakePHP, but since that value can be changed during runtime, make sure that CakePHP doesn't change it in somewhere. If that is the case, then you wouldn't see it it in phpinfo() unless you call phpinfo() through some route in CakePHP. – M. Eriksson Sep 06 '22 at 09:58
  • If using php-fpm, set the execution time in the pool config AND make certain that the Timeout and ProxyTimeout apache settings are sufficient, typically in vhost files. – YvesLeBorg Sep 06 '22 at 11:09

0 Answers0