Use oci_new_connect instead oci_connect #841
Closed
francescoparadisiniva
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone!
I have the following Code but it doesn't work.
The oracle connection and oracle_log connection have the same configs.
Using the oci_connect function, as stated in the PHP documentation, oci_connect() with the same parameters will return the connection handle returned from the first call.
Using Laravel singletons for connections, there should be no problems with an increase in sessions.
My proposal would be to use the oci_new_connect function instead of oci_connect or use a parameter within the config on which function to use.
Beta Was this translation helpful? Give feedback.
All reactions