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.
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 ?.
Is the domain still in the recycle bin? Please apply the above hotfix. It works for ISPConfig 2.2.2 too.
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 ?
I might have done a database update (i am running in "discover how it all works mode", but nothing manual in the database itself So you advice firstdowgrade PHP and then empty the bin ?
Code: Build complete. (It is safe to ignore warnings about tempnam and tmpnam). Installing PHP SAPI module: apache [activating module `php5' in /root/ispconfig/httpd/conf/httpd.conf] cp libs/libphp5.so /root/ispconfig/httpd/libexec/libphp5.so chmod 755 /root/ispconfig/httpd/libexec/libphp5.so cp /root/ispconfig/httpd/conf/httpd.conf /root/ispconfig/httpd/conf/httpd.conf.b ak cp /root/ispconfig/httpd/conf/httpd.conf.new /root/ispconfig/httpd/conf/httpd.co nf rm /root/ispconfig/httpd/conf/httpd.conf.new Installing PHP CLI binary: /root/ispconfig/php/bin/ Installing PHP CLI man page: /root/ispconfig/php/man/man1/ Installing PEAR environment: /root/ispconfig/php/lib/php/ [PEAR] Archive_Tar: 'xml' PHP extension is not installed [PEAR] Console_Getopt: 'xml' PHP extension is not installed [PEAR] PEAR: 'xml' PHP extension is not installed [PEAR] HTML_Template_IT: 'xml' PHP extension is not installed [PEAR] Net_UserAgent_Detect: 'xml' PHP extension is not installed [PEAR] XML_RPC: 'xml' PHP extension is not installed Installing build environment: /root/ispconfig/php/lib/php/build/ Installing header files: /root/ispconfig/php/include/php/ Installing helper programs: /root/ispconfig/php/bin/ program: phpize program: php-config program: phpextdist ln: creating symbolic link `/root/ispconfig/php/php' to `/root/ispconfig/php/bin /php': File exists Starting ISPConfig system... /root/ispconfig/httpd/bin/apachectl startssl: httpd started ISPConfig system is now up and running! I just downgraded. But it's complaining about XML stuff. Are they just warnings and can be safely ignored? Thanks!
I installed you hotfix and now I don't have any seg faults anymore, but the in the Tools section in the panel, the menu to the left is blank, and nothing appears. The other menues in the other sections are working fine.
I took the old libphp5.so (5.1.2) and replaced the updated one (5.0.4, the hotfix one), and restarted ispconfig. No seg fault and the tool menu appears again.
I have problem with php 5.2.1 to i try downgrade using how to at begining of this topic but now i thing i have two php versions in system, ispconfig itselfs runs on downgraded but main still 5.2.1, problem is with client pages, that generate this message in log Code: child pid 17411 exit signal Segmentation fault (11), possible coredump in /tmp Mandriva 2007.1 Main httpd Code: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/zip.so' - /usr/lib/php/e xtensions/zip.so: undefined symbol: OPENBASEDIR_CHECKFILE in Unknown on line 0 [Tue May 29 09:57:30 2007] [notice] Apache/2.2.4 (Mandriva Linux/PREFORK-6mdv2007.1) PHP/5.2.1 with Suhosin -Patch mod_ssl/2.2.4 OpenSSL/0.9.8e mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations Ispconfig httpd Code: Apache/1.3.37 (Unix) PHP/5.0.4 mod_ssl/2.8.28 OpenSSL/0.9.8e configured -- resuming normal operations
Thank you, I find this error is in php-zip-1.8.7-1mdv2007.1.i586.rpm this module version have errors and is described at official module site, i will wait for updates from mandriva. For everyone, try uninstall this package of if you want to be informated through updates to new version coment line Code: extension = zip.so in /etc/php.d/A10zip.ini and restart apache service httpd restart Error with Segmentation fault is now gone, i dont know why was there and what was bad, but now im happy .