Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th April 2006, 17:43
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,424
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default Hotfix PHP segfaults ISPConfig 2.2.x

Since we updated PHP to version 5.1.2 in ISPConfig 2.2.0, I have seen a number of problems related to segmentation faults here in the forum. These segfaults have never been there with PHP 5.0.x versions.

After searching the PHP bugtracker, I found several bugs in PHP 5.1.2 that result in a segfault. It seems that PHP 5.1.2 is not as stable as the older versions and some of you got these stability issues.

Even if i can not reproduce the segfaults on my servers, I decided to make a hotfix that downgrades PHP 5.1.2 to PHP 5.0.4 in ISPConfig 2.2.0 and 2.2.1 installations. This hotfix must only be installed if you encounter one of the following problems:

1) Changes in the ISPConfig interface where not written to system config files.

2) Running the command:

/root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php

as root user results in a segfault.

Installation instructions:
------------------------------------------------------------

Login on the shell as root user and execute these commands:

Code:
wget http://www.ispconfig.org/downloads/compile_php_5_0_4.tar.gz
tar xvfz compile_php_5_0_4.tar.gz
cd compile_php_5_0_4
./compile
The compile script stops ISPConfig, compiles php 5.0.4 as replacement for PHP 5.1.2 and starts ISPConfig again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 13th April 2006 at 17:46.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
madmucho (29th May 2007)
Sponsored Links
  #2  
Old 5th May 2006, 16:37
comedit comedit is offline
Member
 
Join Date: May 2006
Posts: 57
Thanks: 0
Thanked 1 Time in 1 Post
Default Can this still be persistent in 2.2.2 ?

I have installed 2.,2.2 and encounter now that :

although I have eliminated a domain in the interface, It won't let me remake the site, because the localhost.domain.com does allready exist !

Should i also downgrade ?.
Reply With Quote
  #3  
Old 5th May 2006, 17:27
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,424
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

Quote:
Originally Posted by comedit
I have installed 2.,2.2 and encounter now that :

although I have eliminated a domain in the interface, It won't let me remake the site, because the localhost.domain.com does allready exist !
Is the domain still in the recycle bin?

Quote:
Should i also downgrade ?.
Please apply the above hotfix. It works for ISPConfig 2.2.2 too.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 5th May 2006, 22:07
comedit comedit is offline
Member
 
Join Date: May 2006
Posts: 57
Thanks: 0
Thanked 1 Time in 1 Post
Default

No I thought this might be a reason so I have emptied it
Reply With Quote
  #5  
Old 5th May 2006, 22:08
comedit comedit is offline
Member
 
Join Date: May 2006
Posts: 57
Thanks: 0
Thanked 1 Time in 1 Post
Default

i will do the downgrade
Reply With Quote
  #6  
Old 5th May 2006, 22:18
comedit comedit is offline
Member
 
Join Date: May 2006
Posts: 57
Thanks: 0
Thanked 1 Time in 1 Post
Default wrong just logged in and still in recycle bin

A new login an a check shows mew these sites are still in the recycle bin.

What to do ?

first downgrade and then empty the bin or something else ?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get PHP to work after ISPConfig Install alvadore Installation/Configuration 22 30th March 2008 15:57
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 16:05
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! xinefnarg Installation/Configuration 2 28th March 2006 16:45
Downgrade php5 to php4.4.2 llizards Installation/Configuration 4 13th March 2006 23:58
all my site go to /var/www/ Absolusteph Installation/Configuration 14 11th March 2006 21:27


All times are GMT +2. The time now is 08:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.