无法在我的php7.1中安装sqlsrv和pdo_sqlsrv

时间:2019-04-25 13:59:31

标签: php sql-server linux pdo server

我可以在php 7.3中安装sqlsrv和pdo_sqlsrv,但是当我在php7.1或7.2中安装它时不起作用!

我尝试php7.1 -m时出错:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20160303
/sqlsrv.so' - /usr/lib/php/20160303/sqlsrv.so: undefined symbol: _zend_new_array
_0 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20160303
/pdo_sqlsrv.so' - /usr/lib/php/20160303/pdo_sqlsrv.so: undefined symbol: _zend_n
ew_array_0 in Unknown on line 0

0 个答案:

没有答案