centos7上面怎么给php添加pdo扩展

2024-11-16 01:40:30
推荐回答(2个)
回答(1):

tar xzf redis-3.1.3RC2.tgz [root@c2 ~]# cd redis-3.1.3RC2 [root@c2 redis-3.1.3RC2]# /usr/local/php/bin/phpize Configuring for: PHP Api Version: 20131106 Zend Module Api No: 20131226 Zend Extension Api No: 220131226 [root@c2 redis-3.1.3RC2]# ./configure --with-php-config=/usr/local/php/bin/php-config make make install /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/ vi /usr/local/php/etc/php.ini extension=redis
你可以去后盾人平台看看,里面的东西不错

回答(2):

默认就有