Sunday 27 May 2012

PHP pages internal server error Plesk CGI/FCGI

When using PHP 5.3.3, php pages will be throwing internal server error when you select the PHP handler as CGI/FCGI.

You will be finding the following error message in the Apache logs.

======
 Premature end of script headers: cgi_wrapper
13)Permission denied: exec of '/usr/sbin/suexec' failed
======

To resolve the issue, change the ownership of the  '/usr/sbin/suexec' as follows:

====
root:apache
====

Previously, the ownership will be as follows:

====
root:root
====

The PHP pages will be loading fine...

2 comments:

Priyarajan said...

I found your post is informative ans good for those who using Linux. So i request you to take part in my survey related to studies, because your blogging style comes under "BLOGGING RELATED TO STUDIES AND INFORMATIVE."

I am doing research on bloggers who use effectively blog for disseminate information.

I glad if u wish to participate in my research.

If you are interested please contact me through mail.

Thank in Advance

Web Hosting said...

Choosing a web design company is not so easy if u haven't follow some basic principles while hiring.U have made the best points on the importance of website design and the tips to be followed.
Web Hosting