0

error_log shows the following line on startup:

Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so' - (null) in Unknown on line 0

The file exists and it compiled properly. PHP version is 5.2.6. After Googling for a couple of hours I managed to find a couple of similar problems, but no solutions.

2
  • Have you tried to execute "ldd /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so"? Commented Feb 19, 2009 at 18:00
  • I'm on OS X, so I here's what otool outputs: /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so: /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3) Commented Feb 19, 2009 at 18:52

2 Answers 2

1

Turned out that the easiest way to handle this was to update PHP to 5.2.8 with memcache via MacPorts. Everything is working fine now.

Sign up to request clarification or add additional context in comments.

Comments

0

I had this issue as well, and to solve it I had to install Ondrej's PPA of php, and then dist-upgrade to get the latest version of memcache.

https://launchpad.net/~ondrej/+archive/ubuntu/php

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.