Skip to Main Content

How can I connect php7.3 with a oracle database in host remote with RHEL8?

User_UQ6B4Apr 14 2021

Hi everybody,
I have a server with RHEL8 and I installed php-oci8 to try to connect my application in PHP7 with an Oracle Database which is located in other server, but when I run the program I don't get data.
I use this line to connect:
$c1 = oci_connect("USER", "PASSWORD", "//IP_ORACLE_DATABASE/NAME_DATABASE");
When I try to access in the browser, I get a blank page withi┬┐out data.
I followed these steps: https://stackoverflow.com/questions/56622628/how-do-i-connect-php-7-x-to-oracle-database-on-redhat-centos
I installed oracle-instantclient18.3, RHEL8, PHP7.3.
Thaks if you can help me.

Comments
Post Details
Added on Apr 14 2021
0 comments
36 views