All php generated files throwing 500 error in plesk. In the error log got the following,
===
Premature end of script headers: index.php
or
Premature end of script headers: cgi_wrapper
===
In the suexec log : /var/log/httpd/suexec_log
==
file has no execute permission: (/var/www/cgi-bin/cgi_wrapper/cgi_wrapper)
==
To fix this:
==
chmod 755 /var/www/cgi-bin/cgi_wrapper/cgi_wrapper
==
----------