• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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