PHP error: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' undefined symbol: zend_new_interned_string in Unknown on line 0

Refers to:

  • Plesk 10.4 for Linux
  • Plesk Onyx for Linux
  • Plesk 11.5 for Linux

Created:

2016-11-16 13:23:05 UTC

Modified:

2016-12-21 20:35:53 UTC

0

Was this article helpful?


Have more questions?

Submit a request

PHP error: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' undefined symbol: zend_new_interned_string in Unknown on line 0

Symptoms

PHP fails with the alike warning (or similar, but referring to a different module):

[root@server ~]# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/apc.so' - /usr/lib64/php/modules/apc.so: undefined symbol: zend_new_interned_string in Unknown on line 0
PHP 5.3.3 (cli) (built: Dec 11 2013 03:29:57) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

Cause

PHP module got corrupt after the PHP re-installation\upgrade (in our case - APC).

Resolution

Re-install PHP module:

[root@server ~]# pecl uninstall apc
[root@server ~]# pecl install apc
Have more questions? Submit a request
Please sign in to leave a comment.