Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion php5-fpm + nginx control timeouts
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sandro  
View profile  
 More options May 22 2012, 3:20 pm
From: Sandro <livewin...@gmail.com>
Date: Tue, 22 May 2012 12:20:53 -0700 (PDT)
Local: Tues, May 22 2012 3:20 pm
Subject: php5-fpm + nginx control timeouts
Hello,
I'm used to develop on Windows with Apache/mod_php where
max_execution_time always comes first and if I change it to 0 via
ini_set in the file I can run scripts indefinitely.

Now with ubuntu + php5-fpm + nginx things changed.
I don't know why but whether I set max_execution time in php.ini or
with ini_set or in the pool config with php_admin_value the setting is
never considered. What controls everything is fast_cgi's

fastcgi_send_timeout 50;
fastcgi_read_timeout 50;

and process_request_timeout in php pool that works too.

My question is not "how to stop php scripts" because as said above
there are alternative ways but rather "why is that value is ignored??"
anything else is still considered like display_error. Second, does
this mean that in a configuration with a webserver+fast cgi it's
impossible to run scripts (via HTTP requests of course) with no limits
since the backend timeout will always kick in?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.