Max_execution_time per server {}

Hi

We are trialling nginx as a httpd for drupal + civicrm. Everything is
working very well. However one thing we would like to do is to set a
max_execution_time per server {} rather than just relying on a default
setting in php.ini set higher than is actually desirable for all sites.

Is this possible?

Thanks

Bails

Posted at Nginx Forum:

On 12 Jan 2011 18h13 WET, [email protected] wrote:

Hi

We are trialling nginx as a httpd for drupal + civicrm. Everything
is working very well. However one thing we would like to do is to
set a max_execution_time per server {} rather than just relying on a
default setting in php.ini set higher than is actually desirable for
all sites.

Put a php.ini file in the root directory of your site and set the
runtime parameters there. Note that this file has to be readable by
the CGI process.

You can also, in the case of Drupal (I have no experience with
CivicCRM) set it in the settings.php file using
ini_set(‘max_execution_time’, );

— appa