分类 php 下的文章

#./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --enable-fpm --with-fpm-user=nginx --with-fpm-group=nginx --enable-exif --with-gd --with-jpeg-dir --with-png-dir --with-openssl --with-zlib-dir --with-freetype-dir --enable-gd-native-ttf --with-mhash --with-ldap --with-ldap-sasl --enable-mbstring --with-mcrypt --with-mysqli --enable-pcntl --enable-opcache --with-pdo-mysql --with-openssl-dir --with-libxml-dir --enable-sockets --enable-zip --enable-soap --with-pear --with-libdir=lib64 --without-sqlite3 --without-pdo-sqlite

- 阅读剩余部分 -

环境:contos 6.3 php 5.3.3

问题:

PHP安装 memcached 扩展遇到如下错误:

pecl install memcached
libmemcached directory [no]:
checking whether libmemcached supports sasl… no
configure: error: no, libmemcached sasl support is not enabled. Run configure with –disable-memcached-sasl to disable this check
ERROR: '/tmp/pear/temp/memcached/configure –with-libmemcached-dir=no' failed

- 阅读剩余部分 -