• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Question Internal Server Error

campertyler

New Pleskian
We have one site that gives an error when we try to Publish it.
Publishing with all other sites works fine but since this is the biggest site with a lot of pictures it seems it takes longer and we get a timeout. (500 Internal Server Error)

It's always after about 30 seconds so it seems a time-out setting.

The /var/log/httpd/sitebuilder_error.log gives me:
Premature end of script headers: php5, referer: http://sitebuilderdomain/Admin/Site/Form

Error looks like described in http://kb.odin.com/en/5373
In order to fix the issue I modified the "Timeout" value till 600, but the issue didn't fix.

Are there some other timeout settings for the SiteBuilder that I can modify ?
Tyler !
 
Hi campertyler,

unfortunately, you don't provide YOUR operating system, neither do you tell us, which Plesk version ( incl. #MU ) and finally, WHICH PHP - handler you are using.

According to the mentioned KB - article ( which describes only the php.ini - location "/opt/php52/etc/php.ini" ), did you try to change YOUR corresponding "php.ini" as suggested in the KB - article?


Possible commands, to find the current setting "max_execution_time" in your php.ini 's on your server:
Code:
find /etc/php -type f -name "php.ini" -exec grep --color -Hni "max_execution_time"  {} \;
find /etc/php5 -type f -name "php.ini" -exec grep --color -Hni "max_execution_time"  {} \;
find /opt/plesk/php -type f -name "php.ini" -exec grep --color -Hni "max_execution_time"  {} \;

find /var/www/vhosts -type f -name "php.ini" -exec grep --color -Hni "max_execution_time"  {} \;

Possible commands, to find the "Timeout" - setting in your apache - configuration files:
Code:
For Ubuntu/Debian:
find /etc/apache2 -type f -name "*.conf" -exec grep --color -Hni "Timeout"  {} \;

For CentOS/RHEL:
find /etc/httpd -type f -name "*.conf" -exec grep --color -Hni "Timeout"  {} \;
 
Back
Top