我正在尝试用sql server安装我的家园。
我安装了sudo apt-get install php7.0-sybase
我配置我的.env
config/database.php
'sqlsrv' => [
'driver' => 'sqlsrv',
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '1433'),
'database' => env('DB_DATABASE', 'utp'),
'username' => env('DB_USERNAME', 'sa'),
'password' => env('DB_PASSWORD', 'secret123'),
'prefix' => '',
],
.env
DB_CONNECTION=sqlsrv
DB_HOST=localhost
DB_PORT=1433
DB_DATABASE=utp
DB_USERNAME=sa
DB_PASSWORD=secret123
显示此错误 http://imgur.com/a/O3TB1