• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

PHP modules, undefined symbol: php_pcre_exec in Unknown on line 0

Roy Boverhof

Basic Pleskian
I keep getting the following error message on one of my Plesk machines running 10.4.4:

server#php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/fileinfo.so' - /usr/lib/php/modules/fileinfo.so: undefined symbol: php_pcre_exec in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/zip.so' - /usr/lib/php/modules/zip.so: undefined symbol: php_pcre_exec in Unknown on line 0
PHP 5.3.3 (cli) (built: Feb 22 2012 19:37:49)
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.

Does anyone know how to fix this?
 
Do you have these libraries

/usr/lib/php/modules/fileinfo.so
/usr/lib/php/modules/zip.so

or you have

/usr/lib64/php/modules/fileinfo.so
/usr/lib64/php/modules/zip.so

?
 
Do you have these libraries

/usr/lib/php/modules/fileinfo.so
/usr/lib/php/modules/zip.so

or you have

/usr/lib64/php/modules/fileinfo.so
/usr/lib64/php/modules/zip.so

Yes, they are there:

[root@server ~]# cd /usr/lib/php/modules/
[root@server modules]# ls
curl.so json.so phar.so
dom.so mbstring.so sqlite.so
fileinfo.so mcrypt.so sw-engine
gd.so mysqli.so wddx.so
imap.so mysql.so xmlreader.so
ioncube_loader_lin_5.1.so pdo_mysql.so xmlwriter.so
ioncube_loader_lin_5.2.so pdo.so xsl.so
ioncube_loader_lin_5.3.so pdo_sqlite.so zip.so
 
A Solution

I have had this errors message since upgrading to 10.4. whatever and replacing /usr/lib64/php/modules/fileinfo.so
and /usr/lib64/php/modules/zip.so with copies off a similar 10.4.something (64bit) plesk that didn't have these errors

make sure you backup your originals before trying the two attached in the zip

(this is from a centos 5 plesk 10.4 something)

ymmv but give this a shot
 

Attachments

  • fileinfosoANDzipso.zip
    227 KB · Views: 125
Thanks! I have overwritten those 2 files with files from another server, worked perfectly!

I just wonder how something like this can happen on a freshly installed server?
 
Oh I have the same issue but with Plesk 11.0.9 in Centos 5.6 64bit. Could anybody send to me those files for replace my bad ones please? Thanks in advance.
 
Back
Top