max_execution_time per server {}

António P. P. Almeida appa at
Wed Jan 12 21:26:08 MSK 2011

On 12 Jan 2011 18h13 WET, nginx-forum at 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', <value>);

--- appa

More information about the nginx mailing list