Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
error_log在启动时显示以下行:
error_log
无法加载动态库 '/usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so' - (null) in Unknown on line 0
该文件存在并且正确编译。PHP 版本是 5.2.6。谷歌搜索了几个小时后,我设法找到了几个类似的问题,但没有解决方案。
事实证明,处理这个问题的最简单方法是通过 MacPorts 使用 memcache 将 PHP 更新到 5.2.8。现在一切正常。
我也遇到了这个问题,为了解决这个问题,我必须安装 Ondrej 的 php PPA,然后进行 dist-upgrade 以获得最新版本的 memcache。
https://launchpad.net/~ondrej/+archive/ubuntu/php