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!

PHP OCI8 install solaris 11.2

pans_soulJul 17 2015 — edited Aug 12 2015

I am a solaris sysadmin trying to assist a developer in getting PHP to connect to an existing Oracle 12c database. Initial research indicated I should start by installing OIC (oracle instant client?) which I did using the IPS solaris studio repository and solaris studio 12.3. This installed a directory in /opt/solarisstudio12.3/OIC but I dont necessarily see any library files in there. The next instruction seems to indicate I should configure PHP to include/install the oci8 extension but the configure command seems to be pretty outdated (./configure --with-oci8=shared,instantclient,/path/to/instant/client/lib) or I'm unable to find the path to the library files. There is a php-config command in the native version of php installed on solaris 11.2 so maybe that should be used but I'm not sure. The developer is using the following command as a measure of success:

# php -r "var_dump(function_exists('oci_connect'));"

bool(false)

Any help is greatly appreciated.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 9 2015
Added on Jul 17 2015
3 comments
2,412 views