Question

As outlined in a previous question (https://stackoverflow.com/questions/21648349/php-5-5-9-test-failures-and-internal-server-errors) my server administrator recently tried to install php 5.5.9 (using a wrapper) alongside our current configuration, which is php 5.3.8. The o/s is Opensuse 12.1, and it's a Plesk server (11.0.9).

After a successfull installation and initiating the new configuration on a specific vhost, every php script throws out a 500 Internal Server Error. The Apache logs do not show any useful information, however we were able to get mod_sec to pickup a fastcgi error which is as follows:

**Apache-Error:

[file "fcgid_proc_unix.c"] [line 634] [level 4] [status 104] mod_fcgid: error reading data from FastCGI server


Apache-Error: [file "util_script.c"] [line 435] [level 19] Premature end of script headers: db.php**

This error appears only when 5.5.9 is active, and disappears as soon as we switch back to 5.3.8. This is the only lead we have to go on :(

We've also tried checking htaccess & permissions, so far no change.

Thanks!

Was it helpful?

Solution

Problem solved, finally.

In our case we had to CHMOD the cgi-bin for the vhost to 755 (it was 775). After that, smooth running!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top