【发布时间】:2018-07-20 15:05:51
【问题描述】:
如何安装这个库以使用我的 php5.6 连接到 mssql 2012?
更新: 我发现版本 3.0.1 是正确的版本(如果我错了请纠正我)。
但是现在,我得到了这个错误:
pecl install sqlsrv-3.0.1
downloading sqlsrv-3.0.1.tgz ...
Starting to download sqlsrv-3.0.1.tgz (134,966 bytes)
.............................done: 134,966 bytes
17 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module
ERROR: `phpize' failed
更新: 当我尝试手动安装文件时,顶级目录不包含 config.m4。它只包含 config.w32... 我该怎么办?
【问题讨论】:
-
会按照错误消息的描述进行更新吗? FWIW:github.com/Microsoft/msphpsql/releases
标签: php sql-server odbc ubuntu-14.04 unixodbc