• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk 10.4.4 - php 5.3.3 Unable to load dynamic library imap.so

ClaudioD

New Pleskian
Hi,

I have a very serious problem with Plesk 10.4.4

I installed a server with Plesk and standard installation, with webmail horde and php 5.3.3
I have found that horde does not work by releasing the error:
Auth_imp Required IMAP extension not found

By analyzing the problem better discover that:

# tail -n16 /var/log/httpd/error_log
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/imap.so' - /usr/lib64/php/m
odules/imap.so: undefined symbol: file_globals in Unknown on line 0

This is what has installed on the server:

# rpm -qa | grep php
php-mysql-5.3.3-3.el6_2.8.x86_64
php-mbstring-5.3.3-3.el6_2.8.x86_64
php5-ioncube-loader-4.0.7-11082515.x86_64
php-common-5.3.3-3.el6_2.8.x86_64
php-pdo-5.3.3-3.el6_2.8.x86_64
php-5.3.3-3.el6_2.8.x86_64
php-xml-5.3.3-3.el6_2.8.x86_64
php-zts-5.3.3-3.el6_2.8.x86_64
php-cli-5.3.3-3.el6_2.8.x86_64
php-gd-5.3.3-3.el6_2.8.x86_64
php-imap-5.3.3-3.el6_2.8.x86_64
psa-php5-configurator-1.6.1-cos6.build1013111101.14.x86_64

Has anyone had this problem? How do I fix? It seems that the library php-imap has not been compiled for the same version of php:

# php -v
PHP Warning: Module 'imap' already loaded in Unknown on line 0
PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
PHP 5.3.3 (cli) (built: May 7 2012 20:13:47)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.7, Copyright (c) 2002-2011, by ionCube Ltd.
 
Last edited:
Hi,

I discovered the problem stems from the fact that using the module "worker" on apache php tries to load the libraries php-tzs that do not exist (php is not compiled into centos 6.x 64bit with these libraries). By disabling the module everything works properly.
 
Back
Top