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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 13th April 2006, 18:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,779
Thanks: 840
Thanked 5,610 Times in 4,421 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 18:46.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
madmucho (29th May 2007)
Sponsored Links
 

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 16:57
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 17:05
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! xinefnarg Installation/Configuration 2 28th March 2006 17:45
Downgrade php5 to php4.4.2 llizards Installation/Configuration 4 14th March 2006 00:58
all my site go to /var/www/ Absolusteph Installation/Configuration 14 11th March 2006 22:27


All times are GMT +2. The time now is 14:48.


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