php自带模块安装

cd /ybl/source/php-7.2.3/ext
cd 模块
phpize
./configure --with-php-config=/ybl/bin/php-config
make&&make install

修改配置php.ini
vim /ybl/etc/php.ini
extension=/ybl/local/php/lib/php/extensions/no-debug-non-zts-20170718/模块.so

yum install php-组件名

http://pecl.php.net/
yum -y install php-pear
pecl install memcache

猜你喜欢

转载自blog.csdn.net/qq_38984126/article/details/82916784