• 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!
  • 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.

Issue 500 Internal Server Error for one of my websites

nicksti

New Pleskian
Hy, i search for a soulution since days.

My server runs with Ubuntu 18.04.4 and apache.

one of my sites which are written with CakePhp throws a 500 Internal Server error with less log entries.
When I call the index.php on command line with php index.php, I get the regular HTML-Code.

log entries from /var/log/apache2.error.log

Premature end of script headers: index.php
Error parsing script headers
AH01075: Error dispatching request to :

log entries from /var/www/vhosts/my-site.com/logs/access_ssl_log
[20/Sep/2020:08:37:36 +0200] "GET / HTTP/1.1" 500 3542 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36"

When I use FastCgi de Plesk-Predefined ErrorDoc is shown.
WhenI use FPM just a blank side is shown.

I have no idea
 
this is all what i can find.

Premature end of script headers: index.php
[Tue Sep 22 08:12:10.814109 2020] [proxy_fcgi:error] [pid 29358:tid 139985030199040] [client 11.11.111.140:61963] AH01070: Error parsing script headers
[Tue Sep 22 08:12:10.814114 2020] [proxy_fcgi:error] [pid 29358:tid 139985030199040] (22)Invalid argument: [client 50.21.190.140:61963] AH01075: Error dispatching request to :
 
@nicksti
Code:
Premature end of script headers: index.php
Error parsing script headers
AH01075: Error dispatching request to :
The script contains an error that it never finishes. It can be a bracket issues (missing closing brackets in some places) or a simply php opener/closer issue or a while...next loop that never reaches its exit condition. Also very common are "includes" that point to a non-existent file or even better an URL that does not delivered the required resource.

@sergiomb
How is that related to the initial question?
 
Sorry I though I read error "End of script output before headers" when is "Premature end of script headers: index.php"
 
Back
Top