PHP警告:PHP启动:无法加载动态库'sqlsrv.so'

时间:2018-11-23 12:53:46

标签: php sql-server ubuntu

嗨,我最近在计算机上安装了SQL Server。它具有Ubuntu 16.04 LTS操作系统。

我跟随this link安装了PHP 7.2的服务器扩展,现在我收到了这些PHP警告:

PHP Startup: Unable to load dynamic library 'pdo_sqlsrv.so'(tried: /usr/lib/php/20170718/pdo_sqlsrv.so (/usr/lib/php/20170718/pdo_sqlsrv.so: cannot open shared object file: No such file or directory), /usr/lib/php/20170718/pdo_sqlsrv.so.so (/usr/lib/php/20170718/pdo_sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

PHP Startup: Unable to load dynamic library 'sqlsrv.so' tried: /usr/lib/php/20170718/sqlsrv.so (/usr/lib/php/20170718/sqlsrv.so: cannot open shared object file: No such file or directory), /usr/lib/php/20170718/sqlsrv.so.so (tried:/usr/lib/php/20170718/sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

0 个答案:

没有答案