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 OHS XE - Mixed Environments

jstem1177Jun 25 2013 — edited Jul 10 2013

Hello All,


I was wondering if anybody has ever run into the following problem. I've got OHS and XE running on the same server, btu installed in 2 distinct ORACLE_HOME with 2 distinct users (oracle, oraweb) both part of the oinstall group.

I'm using the demo files and when I test using the php command line I have no problem connecting with OCI. However when I open the same file through the web I get:

Command line test

#> php -f dbtest01.php

Warning: oci_connect(): ORA-24315: illegal attribute type in /u01/app/oracle/middleware/webtier_1/instances/inst_1/config/OHS/ohs1/htdocs/demo/dbtest01.php on line 10

I've tried overloading http.conf with the SetEnv ORACLE_HOME to point to the XE, however I still see that the PHP environment variable _ENV["ORACLE_HOME"] still points to the OHS home.

Any suggestions?

Thanks in advance

Jan S.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2013
Added on Jun 25 2013
3 comments
2,132 views