0

下面的错误,我在通过邮递员 Sybase DB 访问 Web 服务调用时得到,

调用未定义函数 Abram\Odbc\odbc_connect()

下面是我应用的配置;

作曲家.json

"require": {
    "php": "^7.2",
    "ext-curl": "*",
    "ext-json": "*",
    "abram/laravel-odbc": "dev-master",
    "agomez/laravel-odbc-driver": "^1.0",
     }

数据库.php

 'sybase' => [
        'driver' => 'odbc',
        'dsn'  => '*****',
        'host' => env('DB_HOST','*****'),
        'port' => env('DB_PORT','*****'),
        'database' => env('DB_DATABASE'),
        'username' => env('DB_USERNAME'),
        'password' => env('DB_PASSWORD'),
        'prefix' => '',
    ],
4

0 回答 0