376 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
1
answer
92
views
Using Eloquent ORM Outside of Laravel - Getting Error: Unsupported driver [oracle]
PHP Version 7.4.33
I am trying to use Eloquent outside of Laravel and it is throwing the error "Unsupported driver [oracle]" Apparently there is still some connection that needs to be made ...
1
vote
0
answers
73
views
PHP OCI: How to pass above 33k string via bind variable to PL/SQL - is producing ORA-01460: unimplemented or unreasonable conversion requested;
I would like to record API calls using an autonomous transaction so that it cannot be rolled back. There is a call made once a day that has a huge return value. When I try to record that, I get a &...
0
votes
0
answers
101
views
Problem with running php artisan serve command in laravel once installed yajra and oci8
Illuminate\Contracts\Container\BindingResolutionException
Target class [auth] does not exist.
at vendor\laravel\framework\src\Illuminate\Container\Container.php:940
936▕
937▕ ...
0
votes
0
answers
1k
views
yajra/laravel-oci8 does not connect with Oracle DB
I am Trying to establish connection between a laravel app and Oracle DB. I have installed Instant client for Laravel and oci8. I have also updated the oracle path in zshrc to point to oracle files.
...
2
votes
1
answer
174
views
How to build same php extension for multiple versions on the same server with Ubuntu?
I have a server with Ubuntu 22.04 that has multiple versions of PHP installed using ondrej:ppa. I need to add oci8 extension to all supported versions. This is the procedure that I have been using:
...
0
votes
1
answer
93
views
PHP oci_execute wont return anything, when it should
I'm trying to implement a find by criteria method with OCI8 in PHP, where if the object has a parameter set, it should query all records, where the given parameters are like the ones in the record. ...
1
vote
3
answers
726
views
Unable to load dynamic library 'oci8_19' in command line
I tried to generate sql schema using php .\bin\console make:migration in symfony.
But I got this error
Warning: PHP Startup: Unable to load dynamic library 'oci8_19' (tried: C:/laragon/bin/php/php-8.2....
0
votes
1
answer
256
views
Error while installing oci8 gem for my ruby-3.0.1
While installing oci-8 for my Ubuntu system (22.04 lts). I have tried installing libdev library and some other libraries but issue remains same.
It says that it can find the instaclient in the given ...
0
votes
1
answer
248
views
Get data from Oracle Ref Cursor using PHP OCI8
I'm trying to get data from oracle pl/sql function, that return REF cursor. I wrote test function, just to check it. I'm using fresh Oracle 19g, and WAMP in windows, with Oracle Driver.
Function code: ...
0
votes
0
answers
201
views
How can I get PHP8 with OCI8 to connect to a remote Oracle database using oci_connect from inside a Docker container?
I have a vanilla PHP Docker container with Oracle Instant Client installed, and the oci8 extension installed and added to the php ini.
I have a pretty bland php script to test the oci_connect method:
$...
1
vote
1
answer
200
views
OS X Monterey PHP 8.1 unable to find oci8.so
I downloaded and installed Oracle InstantClient from https://www.oracle.com/database/technologies/instant-client/macos-intel-x86-downloads.html, and installed it via the Instructions for OS X Monterey....
2
votes
1
answer
355
views
PHP & OCI8. easy connect string not working
I've got a coworkers system that will connect to oracle from php using the TNSNAME, but not with an easy connect string. The same easy connect string works from my system that is setup the same (...
0
votes
1
answer
1k
views
Laravel Sail - How to get oci8 extension working for non-root (sail) user?
Is there someone knowledgeable about docker around?
I'm basically trying to install the oci8 extension inside a docker image (based on ubuntu) and failing at the last step. I've managed to compile the ...
0
votes
1
answer
92
views
Authorization in php, without further saving the password and login, which is a connection to the Oracle database
Modeling the situation:
The user enters his login and password in the form on the auth.php page, the data is sent,
new ConnectToDB($user,$password)
happens, he is authorized and redirected to the ...
-1
votes
1
answer
1k
views
I Want to install PHP 7.4 on Oracle Linux 8 with the PHP OCI8 extension
I tried a lot of thing on internet but didn't worked, and i follow this steps on oracle linux documentation:
client documentation
php oci documentation
commands with the follow erro:
sudo dnf install ...