Oracle Database Connection with PHP 7.3.5 Latest Version |
Currently I'm working with oracle 11g db using codeigniter 3X and PHP Version 7.3.5 . I'm newbie to this db, when i try to make the connection. I got this error.
A PHP Error was encountered. Code: Severity: Notice I've already enable extension in php.ini Code: ;extension=php_mysqli.dll Below is my code for [b]database.php :[/b] Code: $active_group = 'default'; Below is the code at [b]controller :[/b] Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); I've been stuck on this problem almost 1 weeks. I also already searched the solution but nothing's work. can you help me ? Some Developers Said [b]below solution, i'am also try that solution but its not work for me. [/b] Ans : It seems your oracle setup is not completed. I'm not sure, but this PDF http://www.oracle.com/technetwork/topics...98250.html may help you. So Can you Guide me how to setup the oracle 11g Edition with PHP 7.3.5 Latest Version ?
OCI_COMMIT_ON_SUCCESS is a constant declared in the Oracle PHP extension. Are you sure you have that installed correctly? Is it enabled in php.ini? Can you confirm that you can connect to the database manually with oci_connect?
If you don't have the extension, then you'll need to install it. A list of steps to debug an installation can be found here. You should also look at the php error log looking for any errors related to Oracle and the loading of the extension. What OS is the webserver on? (05-09-2019, 10:11 PM)eswarrao Wrote: |
Welcome Guest, Not a member yet? Register Sign In |