Article ID: 5450, created on Jul 9, 2008, last review on May 10, 2014

  • Applies to:
  • Plesk Sitebuilder for Linux/Unix

Resolution

On Sitebuilder server increase apache timeout and maximum scripts execution time in configuration files of apache and Sitebuilder PHP.

/etc/httpd/conf/httpd.conf
..............
# Timeout: The number of seconds before receives and sends time out, in seconds
Timeout 1200
..............


/opt/php52/etc/php.ini
..............
max_execution_time = 3600    ; Maximum execution time of each script, in seconds
..............

AdditionalInformation

Location of Sitebuilder PHP configuration file may differ on other operating systems, you may get location of the file with help of sb_config.

~# sb_config --help | grep php
 --phpcli_path        PHP CLI executable [/opt/php52/bin/php5]
 --phpcgi_path        PHP CGI executable [/opt/php52/cgi-bin/php5]
~#
~# find /opt/php52 -name php.ini
/opt/php52/etc/php.ini
~#

You need configuration file of PHP CGI to perform the change in.


d055be4fdc562a8ecb8e6d0bf419f946 fad6dc0c8e983c17ae70a51ac7952cd0 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF