11.32 PHP扩展模块安装

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了11.32 PHP扩展模块安装相关的知识,希望对你有一定的参考价值。

11.32 php扩展模块安装

技术分享图片

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

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

[[email protected] 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

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

[[email protected] php-7.1.6]# /usr/local/php7/bin/php -m |grep redis

[[email protected] 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

[[email protected] phpredis-develop]# ls /usr/local/apache2.4/modules/libphp7.so
/usr/local/apache2.4/modules/libphp7.so

以上是关于11.32 PHP扩展模块安装的主要内容,如果未能解决你的问题,请参考以下文章

11.32 PHP扩展模块安装

11.32 PHP扩展模块安装

11.32 PHP扩展模块(redis)安装

11.32PHP动态扩展模块

11.32 php扩展模块装安

2018.3.8 11周3次课