After migrating from Apache 2.4 to OHS(Oracle HTTPS server) I get Fatal error: Uncaught Error: Call to undefined function oci_connect()

I am using PHP 7 version

when I entered command php -m I can see that OCI8 is installed enter image description here

When I use Apache I am able to connect to oracle database, But when I try the same code using OHS(Oracle HTTPS server) I get this error "Fatal error: Uncaught Error: Call to undefined function oci_connect()" I can see all the DLL's are located

When I run the below command I get "TRUE" as output php -r "var_dump(function_exists('oci_connect'));"

Can you please help me

0

There are 0 best solutions below