Create PHP apps using SQL Server on macOS
發表於 : 2017-12-02 21:43:23
https://www.microsoft.com/en-us/sql-ser ... d/php/mac/
代碼: 選擇全部
/usr/local/php5/php.d/50-extension-sqlsrv.ini
extension= sqlsrv.so
/usr/local/php5/php.d/50-extension-pdo_sqlsrv.ini
extension= pdo_sqlsrv.so
代碼: 選擇全部
sqlcmd -S 127.0.0.1 -U sa -P 'PASSWORD' -Q "SELECT @@VERSION"