PHP 扩展安装
以安装Redis扩展为例
wget http://pecl.php.net/get/redis-4.0.0.tgz tar -zxvf redis-4.0.0.tgz cd redis-4.0.0.tgz /usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/php/bin/php-config make make install
问题解决
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
参考连接:https://github.com/phpredis/phpredis/issues/784
git clone https://github.com/phpredis/phpredis.git cd phpredis/ git checkout php7 rm -f aclocal.m4 phpize aclocal && libtoolize --force && autoreconf ./configure --with-php-config=/usr/bin/php-config && make # in my case previous make command installed the redis.so into ~/phpredis/modules/ make install #optional
相关推荐
zyyjay 2020-11-09
xuebingnan 2020-11-05
samtrue 2020-11-22
stefan0 2020-11-22
yifangs 2020-10-13
songshijiazuaa 2020-09-24
hebiwtc 2020-09-18
天步 2020-09-17
83911535 2020-11-13
whatsyourname 2020-11-13
zhouyuqi 2020-11-10
Noneyes 2020-11-10
mathchao 2020-10-28
王志龙 2020-10-28
wwwsurfphpseocom 2020-10-28
diskingchuan 2020-10-23
savorTheFlavor 2020-10-23