View Single Post
  #1  
Old 3rd December 2007, 14:38
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 196
Thanks: 66
Thanked 13 Times in 11 Posts
Default suPHP problem after PHP upgrade - ubuntu

Hi all

Few days ago I installed new version of php on my ubuntu feisty server with suPHP extension. But after sucessfully upgrade I get a lot of php5-cgi segmentation fault errors in /var/log/messages:

Code:
Dec  3 14:11:58 s1 kernel: [4978293.463308] php5-cgi[16717]: segfault at 0000000026f2db60 rip 00002ada293b6640 rsp 00007fff83c0aa88 error 4
After that I found index.php files on zencart installations which returns this error. If I go directly to page with this index.php I get apache 500 error. In apache error.log is this line:

Code:
Premature end of script headers: index.php
I have a lot of same installations of this application but only some of them returns error. All index.php files are same.

For this time I solved this problem by switching off suPHP extension for problematic webs.

I tried recompile suPHP by using this howto http://www.howtoforge.com/suphp_debian_ispconfig but without success.

Has somebody similar problem or idea how to solve this?

Thanks .. SupuS

Here is a list of upgraded packages:

Code:
2007-11-29 23:49:34 status installed php5-common 5.2.1-0ubuntu1.5
2007-11-29 23:49:35 status installed php5-cli 5.2.1-0ubuntu1.5
2007-11-29 23:49:36 status installed php5-cgi 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed libapache2-mod-php5 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed php5-xsl 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed php5-xmlrpc 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed php5-tidy 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed php5-sqlite 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed php5-snmp 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed php5-recode 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed php5-pspell 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed php5-mysql 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed php5-mhash 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed php5-gd 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed php5-curl 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed php-pear 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed php5 5.2.1-0ubuntu1.5
2007-11-29 23:49:47 status installed php5-dev 5.2.1-0ubuntu1.5
Reply With Quote
Sponsored Links