memcached (1)

memcached安装fatal error: ext/standard/php_smart_str.h: No such file or directory错误解决

原因:php7.x修改了这份文件源码且改了文件名 解决:https://github.com/php-memcached-dev/php-memcached 这上面的代码已经有可以支持到 PHP7 的分支。 [root@localhost]# cd /usr/local/src/ext/ [root@localhost ext]# git clone https://github.com/php-memcached-dev/php-memcached memcached [root@localhost ext]# cd memcached/ checkout 到 php7 分支: [root@localhost memcached]# git checkout php7 Branch php7 set up to track remote branch php7 from origin. Switched to a new branch 'php7' [root@localhost memcached]# 用…

Read more
本站总访问量次| 本站访客数人次| 本页访问量