Article ID: 8917, created on Sep 3, 2010, last review on Dec 15, 2016

  • Applies to:
  • Plesk 9.5 for Linux/Unix

Symptoms

PHP version 5.2 is installed on the server. You may check the PHP version with the command rpm -q. For example:

~# rpm -q php
php-5.2.6-2.fc8
~#


The above output means that PHP version 5.2 is installed.

After upgrading Parallels Plesk Panel to version 9.5.2, Horde Webmail does not work correctly. From time to time, the login page is not opened via http://webmail.domain.tld. Instead, a download box is shown that offers to download the PHP script login.php.

Or, a blank page is shown when opening mail messages in Horde Webmail.

The following error is shown in the main log file of the Apache service:

/var/log/httpd/error_log
--->8---
[Mon Aug 23 12:56:36 2010] [notice] child pid 21575 exit signal Segmentation fault (11)
zend_mm_heap corrupted
zend_mm_heap corrupted
zend_mm_heap corrupted
zend_mm_heap corrupted
zend_mm_heap corrupted
...
[Mon Aug 23 12:59:08 2010] [notice] child pid 26024 exit signal Segmentation fault (11)
zend_mm_heap corrupted
zend_mm_heap corrupted
--->8---

Cause

The problem is caused by an issue in PHP version 5.2.

It is fixed in PHP version 5.3.

Resolution

Add the following record into /etc/sysconfig/httpd on Red Hat-based distributions and to /etc/apache2/envvars on Debian-based distributions:

--->8---
export USE_ZEND_ALLOC=0
---8<---


The following command may be used:

Red Hat-based distributions:
~# echo "export USE_ZEND_ALLOC=0" >> /etc/sysconfig/httpd

Debian-based distributions:
~# echo "export USE_ZEND_ALLOC=0" >> /etc/apache2/envvars

60d3e722783ac7177a2b4b4c13af4062 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 6ef0db7f1685482449634a455d77d3f4 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF