Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

migrating from Apache to OHS facing problem with OCI8 "Uncaught Error: Call to undefined function oc

3807919Oct 8 2018 — edited Oct 11 2018

I have a website running up-end with Apache, PHP, Oracle Database.

I am trying to migrate to OHS by removing Apache, After installing OHS I was able to run the simple PHP file when I try to connect to Oracle Data Base I get this

error "Uncaught Error: Call to undefined function oci_connect()".

The strange thing, it work with Apache and not with OHS not sure what I am missing.

extension=php_oci8_12c.dll enable in php.ini file, I tired adding the folder "instantclient_11_2" in SYSTEM32 folder and added in System Environment variable still I get the same error.

Tried installing instantclient-basic too.

I am not able to figure out what went wrong.

Comments

How can they bypass squid all together for all calls to access the website as well as direct links into the content server? Is that best done inside IIS, UCM, Squid or somewhere else?

Couple of places.

1. Expose the direct / web server url for the website / wcc instead of port 8080 one on external configuration.

2. Check in config.cfg if the webserver url parameter is set to point to 8080 or is it still showing native port.

Whoopass

Thanx. How do I do that?

Open SS Designer - On the left hand pane - system / site properties are listed .

There is a setting which shows the url setting , it is there the change has to be done.

1 - 3

Post Details

Added on Oct 8 2018
2 comments
1,192 views