linode的centos7-64位安装memcached失败,lnmp1.2(有日志)
/usr/local/php/include/php/Zend/zend_API.h:302:14: note: expected ‘char *’ but argument is of type ‘const char *’ZEND_API int add_assoc_stringl_ex(zval *arg, char *key, uint key_len, char *str, uint length, int duplicate);
^
make: *** Error 1
Copy Memcached PHP Test file...
Restarting php-fpm......
Shutting down php_fpm . done
Starting php_fpm PHP:Error parsing /usr/local/php/etc/php.ini on line 571
done
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
Starting Memcached...
Starting memcached:done
Memcached install failed! 安装完好像php都运行不起来了,571行是这个:
;from="john@doe.com"
看安装之前php.ini就有提示错误
发完整php.ini看一下
php是哪个版本,php 5.2?
可以按这个试试https://bbs.vpser.net/thread-12366-1-1.html 貌似是php-memcached的bug 是5.2,都是lnmp1.2的最低版本 492行多了个usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/" 删掉就行了
phpmemcached貌似与php 5.2有兼容问题 原帖由 licess 于 2015-7-30 09:24 发表 https://bbs.vpser.net/images/common/back.gif
492行多了个usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/" 删掉就行了
phpmemcached貌似与php 5.2有兼容问题
以前用lnmp.1.1的时候都可以正常,不知道是不是心理作用,好像1.2没1.1好用,经常碰到些小问题 原帖由 licess 于 2015-7-30 09:24 发表 https://bbs.vpser.net/images/common/back.gif
492行多了个usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/" 删掉就行了
phpmemcached貌似与php 5.2有兼容问题
感谢军哥,从lnmp0.6一直追随哥你,感谢做这么好的包包
我升级php5.3.28试试 结贴吧,升级完PHP已经安装成功
页:
[1]