码迷,mamicode.com
首页 > Web开发 > 详细

11.32 PHP扩展模块安装

时间:2018-03-11 17:31:39      阅读:213      评论:0      收藏:0      [点我收藏+]

标签:11.32 PHP扩展模块安装

11.32 PHP扩展模块安装

技术分享图片

[root@martinlinux001 phpredis-develop]# yum install -y autoconf
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * epel: mirrors.tongji.edu.cn
正在解决依赖关系
--> 正在检查事务

[root@martinlinux001 phpredis-develop]# /usr/local/php7/bin/phpize
Configuring for:
PHP Api Version:         20160303
Zend Module Api No:      20160303
Zend Extension Api No:   320160303

[root@martinlinux001 phpredis-develop]# ./configure --with-php-config=/usr/local/php/bin/php-config
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc

[root@martinlinux001 php-7.1.6]# ls /usr/local/php/lib/php/extensions/no-debug-zts-20131226/
opcache.so  redis.so

[root@martinlinux001 php-7.1.6]# /usr/local/php7/bin/php -m |grep redis

[root@martinlinux001 phpredis-develop]# /usr/local/php7/bin/php -i|grep extension_dir
extension_dir => /usr/local/php7/lib/php/extensions/no-debug-zts-20160303 => /usr/local/php7/lib/php/extensions/no-debug-zts-20160303
sqlite3.extension_dir => no value => no value

[root@martinlinux001 phpredis-develop]# ls /usr/local/apache2.4/modules/libphp7.so
/usr/local/apache2.4/modules/libphp7.so

11.32 PHP扩展模块安装

标签:11.32 PHP扩展模块安装

原文地址:http://blog.51cto.com/12058686/2085105

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!