时间:2021-07-01 10:21:17 帮助过:2人阅读
然后执行: ./configure --with-php-config=/usr/local/php7/bin/php-config --with-mysqli
最后执行: make && make install
会在扩展目录中生成mysqli.so
编译安装pdo.so、pdo_mysql.so等都一样,进入ext/下对应的目录,执行上面操作,只需要换成对应的 --with-pdo、--with-pdo-mysql就好
Ubuntu为已经安装的PHP7单独编译mysqli
标签: