Issue
I recently installed memcached with homebrew, I'm not entirely sure how to enable it on my PHP envirionment since I added extension=memcached.so
in /etc/php.ini
in Lion OS X.
Even I restarted apache too, nothing is still loaded.
If I call get_loaded_extensions()
, I do not see memcached in the list, how can I enable it when installed from homebrew?
EDIT:
What I did in Terminal was:
$ brew install memcached
It installed just fine, now I went to /etc/php.ini
and appended:
extension=memcached.so
Solution
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/memcached.so'
That's the information PHP is giving you, stick to it.
It's either:
- The file you have specified does not exists. Check your file-system.
- The file you've specified can not be read by PHP, check the rights of the file.
- The file you've specified is incompatible with your PHP binary. Check if you have compiled the right sources and compilation went well.
Answered By - hakre Answer Checked By - Cary Denson (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.