Skip to main content
2 of 3
edited tags
fuxia
  • 107.1k
  • 38
  • 255
  • 459

NGINX / Wordpress Site - Increasing php.ini max_execution_time = 600 doesn't work

Need some assitance.

I'm testing my PHP Limit on wordpress site and keep getting a 504 Gateway Time-out.

I'm changing the max_execution_time in php.ini to reflect the value of 600.

Followed by restart when I test the PHP Limit it gives me a 504 Gateway Time-out.

Upon checking php -i I get the following result; max_execution_time => 0 => 0

the ini file is pointing at /etc/php/7.0/cli and this is the one I am configuring.

Contacting support they have stated;

That command checks the overall php ini settings, not for the application. The bad gateway error may be because of an error in the configuration setup. Try verifying the configuration file and checking your error logs.

Checking contents for error log, nothing recorded.

what am I doing wrong?