Plesk SuExec “500 Internal Server Error”

After switching the php from DSO to SuPHP on the Plesk Linux Server while browsing the domain or ip “500 Internal Server Error” is occurs and receiving the following error message in the server mail error_logs file.

[Sat Jun 16 17:17:47 2012] [error] [client 192.168.0.1] Premature end of script headers: cgi_wrapper

To resolve the above error login in to the server as server as root user and check the permission for the file, make sure that file having 755 and root.root ownership.

/var/www/cgi-bin/cgi_wrapper/

-rwxr-xr-x 1 root root 4004 Jul 13 2011 cgi_wrapper

Now browse the domains and ip..

About Anant 384 Articles
Senior technical writer