• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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