简体   繁体   English

使用PHP 5.4在Ubuntu 12.04上缺少软件包

[英]Missing packages on Ubuntu 12.04 with PHP 5.4

I've upgraded PHP to version 5.4 using this guide: http://www.barryodonovan.com/index.php/2012/05/22/ubuntu-12-04-precise-pangolin-and-php-5-4-again 我已使用此指南将PHP升级到5.4版: http : //www.barryodonovan.com/index.php/2012/05/22/ubuntu-12-04-precise-pangolin-and-php-5-4-再次

Now when i hit "$php -v" it throws following error: 现在,当我点击“ $ php -v”时,将引发以下错误:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/memcached.so' - /usr/lib/php5/20100525/memcached.so: undefined symbol: memcached_touch in Unknown on line 0

How can i properly install "memcached" library? 如何正确安装“ memcached”库? Package manager reports that i've already got latest version. 软件包管理器报告我已经有了最新版本。 I even tried to reinstall it to no avail. 我什至试图重新安装它都无济于事。

You need all extensions in the correct version. 您需要正确版本的所有扩展。 We had this problem here before some time. 一段时间之前,我们在这里遇到了这个问题。 At the moment only the memcache beta supports php5.4 on this site you get a compiled module. 目前,只有memcache beta在此站点上支持php5.4,您才能获得已编译的模块。

Class 'Memcache' not found & PHP 找不到类“ Memcache”和PHP

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM