Forum Stats

  • 3,733,857 Users
  • 2,246,830 Discussions
  • 7,856,898 Comments

Discussions

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

User_UQ6B4
User_UQ6B4 Member Posts: 1 Green Ribbon

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.

Tagged:
Sign In or Register to comment.