I'm having problems connecting the codeigniter on oracle

0

I have two problems setting up the oracle connection.

A PHP Error was encountered
Severity: Notice

Message: Use of undefined constant OCI_COMMIT_ON_SUCCESS - assumed 'OCI_COMMIT_ON_SUCCESS'

Filename: database/DB.php

Line Number: 201

Backtrace:

File: C:\Users\willian.nascimento\Desktop\projeto\Teste\Source\Release\application\third_party\MX\Loader.php
Line: 109
Function: DB

File: C:\Users\willian.nascimento\Desktop\projeto\Teste\Source\Release\application\third_party\MX\Loader.php
Line: 65
Function: initialize

File: C:\Users\willian.nascimento\Desktop\projeto\Teste\Source\Release\application\third_party\MX\Base.php
Line: 55
Function: __construct

File: C:\Users\willian.nascimento\Desktop\projeto\Teste\Source\Release\application\third_party\MX\Base.php
Line: 60
Function: __construct

File: C:\Users\willian.nascimento\Desktop\projeto\Teste\Source\Release\application\third_party\MX\Controller.php
Line: 4
Function: require

File: C:\Users\willian.nascimento\Desktop\projeto\Teste\Source\Release\application\third_party\MX\Modules.php
Line: 123
Function: include_once

File: C:\Users\willian.nascimento\Desktop\projeto\Teste\Source\Release\application\modules\contrato\controllers\Contrato.php
Line: 4
Function: spl_autoload_call

File: C:\Users\willian.nascimento\Desktop\projeto\Teste\Source\Release\index.php
Line: 315
Function: require_once


Fatal error: Call to undefined function oci_connect() in C:\Users\willian.nascimento\Desktop\projeto\Teste\Source\Release\system\database\drivers\oci8\oci8_driver.php on line 238
A PHP Error was encountered
Severity: Error

Message: Call to undefined function oci_connect()

Filename: oci8/oci8_driver.php

Line Number: 238

Backtrace:

I'm using codeigniter 3.

Note: I already checked my php.ini and disabled only the extensions related to oci8 and I have also checked if these dlls are in the ext folder.

My phpinfo ()

    
asked by anonymous 23.04.2018 / 19:51

0 answers