mardi 1 septembre 2015

Laravel 5.1 and Oracle connect failed

I am trying to connect with Oracle from Lavavel 5.1

I do install yajra libraries and still get error messages

Someone could conect to oracle using laravel 5.1 ?

Wich was the instalation steps ?

I do uncomment into php.ini the lines for oci8 and pdo-oci-8 and restart the server

This is the error message :

FatalErrorException in Oci8.php line 81:
Call to undefined function yajra\Pdo\oci_connect()

I do instal using composer :

"require": {
        "yajra/laravel-pdo-via-oci8": "^0.12.0",
        "yajra/laravel-oci8": "^2.4"
},

I change in the file OracleConnector.php :

return parent::createConnection('oci:dbname='.$tns, $config, $options);

And in app/config.php i do add the oracle information



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1L0EbVq
via IFTTT

Aucun commentaire:

Enregistrer un commentaire