O
O
Optimus2014-11-14 08:33:04
linux
Optimus, 2014-11-14 08:33:04

Server not listening to php.ini?

I looked at phpinfo where php.ini is, went in, downloaded it, changed max_execution_time from 300 to 1000, uploaded it back. I run a heavy script through the browser, after 5 minutes of 504 Gateway Time-out.
Why can't I understand for 5 minutes? 1000 seconds does that mean 16 minutes should it work? Where to dig to fix? Still look for other php.ini and change there?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dmitry, 2014-11-14
@Dimitriys

max_execution_time is PHP's running time, and your nginx -> httpd link dries up due to timeout

P
protven, 2014-11-14
@protven

What exactly, excuse me, the server? In any case, did you re-pin it after changing the config?

D
Dan Ivanov, 2014-11-16
@ptchol

Try changing the timeouts in the opposite direction to make sure that you are changing what you need.
Usually there are several php.ini configs, for cli/fpm/apache etc, did you change exactly in the right one?

L
LazyGatto, 2014-11-20
@LazyGatto

If php-fpm is used, then it is also necessary to restart the php-fpm service.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question