Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a server with centos 6.3 and cPanel

After the upgrade from php 5.3.16 to php 5.3.19 my site stopped working. When I try to execute an index.php manually, I'm receiving the following error.

php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ undefined symbol: memcached_last_error_errno

Reinstalled memcached and memcache via pecl and manually but that did not help.

What is causing this problem and how do I fix it ?

share|improve this question

Memcached 2.x extension in PHP requires a newer version of libmemcached.

So you need to make sure you remove the old one from the system:

yum remove libmemcached

Be sure it removed* from your system.

Download & compile newer libmemcached from (for me libmemcached-1.0.13 compiles fine on Centos 6.3)

Recompile memcached extension by issuing:

pecl install -f memcached

Now it should be fine. For me it was.

share|improve this answer

Check for the "" extension entry in new php.ini file. Make sure it is there.

Now run "updatedb && locate" to find this module and copy it to /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ location.

share|improve this answer
His issue isn't about PHP not being able to find the extension; there are symbols that are not resolving in the SO file, presumably because he's got an old memcache library than what is required from the PHP extension. – Michael Dec 17 '12 at 12:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.