mrs*_*rko 5 php xampp session memcached
当我尝试使用此命令在xampp上安装memcache时
wget http://pecl.php.net/get/memcache-3.0.8.tgz
tar xf memcache-3.0.8.tgz
cd memcache-3.0.8
/opt/lampp/bin/phpize
./configure --enable-memcache --with-php-config=/opt/lampp/bin/php-config
make && make install
/opt/lampp/lampp restart
Run Code Online (Sandbox Code Playgroud)
这条线后我得到错误
make && make install
完整的错误消息
/ bin/bash /memcache-3.0.8/libtool --mode =编译cc -I/opt/lampp/include/php -I.-I/memcache-3.0.8 -DPHP_ATOM_INC -I/memcache-3.0.8/include -I/memcache-3.0.8/main -I/memcache-3.0.8 -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /memcache-3.0.8/memcache.c -o memcache.lo cc -I/opt/lampp/include/php -I.-I/memcache-3.0.8 -DPHP_ATOM_INC -I/memcache-3.0.8/include -I/memcache-3.0.8/main -I/memcache-3.0.8 -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /memcache-3.0.8/memcache.c -fPIC -DPIC -o .libs/memcache.o在/memcache-3.0中包含的文件中.8/php_memcache.h:34:0,来自/memcache-3.0.8/memcache.c:30:/memcache-3.0.8/memcache_pool.h:45:47:致命错误:ext/standard/php_smart_str_public.h : 没有相应的文件和目录
包括"ext/standard/php_smart_str_public.h"
Run Code Online (Sandbox Code Playgroud)^ compilation terminated. Makefile:193: recipe for target 'memcache.lo' failed make:***[memcache.lo]错误1
| 归档时间: |
|
| 查看次数: |
1612 次 |
| 最近记录: |