yii2使用oci8连接oracle数据库

$config = array ( 'username' => 'user', 'password' => 'pwd', 'dbname' => '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.1.88) (PORT=1526))(CONNECT_DATA=https://www.it610.com/article/(SERVICE_NAME=myoci)))', 'charset' => 'AL32UTF8', ); $conn = @oci_connect( $config['username'], $config['password'], $config['dbname'], $config['charset']);

    推荐阅读