I wrote a PHP script that should be run on a PHP interpreter (without Apache) that uses the adodb library with an Oracle database, but when I try to run it, I get the following error:
PHP Notice: Use of undefined constant OCI_COMMIT_ON_SUCCESS - assumed 'OCI_COMMIT_ON_SUCCESS' in c:\proyect\backend\libraries\adodb\adodb.inc.php on line 4248
I checked and enabled both php_oci8 and php_oci8_11g, so the constant SHOULD be defined. Also, when I run this script WITH Apache, it works without problems.
Thanks in advance!
source share