Have you checked this
https://www.php.net/manual/en/oci8.requirements.php
This
https://www.php.net/manual/en/oci8.installation.php
And this?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Good morning, I have a problem, I am using laravel 10.X and PHP 8.2.9, I need to install the Oracle driver to be able to work with this type of DB, in this project I use several connectors.
The problem I have is that when I install it, it does not detect the oci8 library located in the /ext folder and enabled later in php.ini.
I can not downgrade the version of Laravel or PHP, what other type of solution can I apply?
I tryed to use: https://github.com/yajra/laravel-oci8
I solved it by installing PHP version 8.2.11 + Laravel 10.X , and instantclient_21_12.
First i installed and configured PHP , enabled oci8_19 extension, later i create the laravel project and configured my oracle DB connection in databases.php , later installed instantclient con mi C:/ and define phpinfo() in the web.php for saw the changes.
Please or to participate in this conversation.