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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

can't compile PHP5.2 with Oracle ORA support, please help!

558892Jan 29 2007 — edited Jan 31 2007
Hi peoples,

first post on here - hope someone can assist.

I am compiling PHP 5.2 on RedHat Enterprise 4 AS intel 64bit with oracle ORA and LDAP support compiled in. I am using Apache 2.0.52-28 installed from RedHat RPMs.

I am using the following configure line:

./configure with-apxs2=/usr/sbin/apxs with-config-file-path=/etc/httpd/conf with-oracle=/export/oracle/pegasus/product/9.2.0 with-ldap=/usr enable-sigchild enable-libgcc

The only oracle related messages I have found during the configuration are:

checking for Oracle (OCI8) support... no
checking Oracle OCI support for PDO... no

However I am told these are newer methods of Oracle communication protocols and not related to what I am trying to achieve.

After building and installing PHP 5.2, reconfiguring apache httpd.conf and restarting httpd I find that the output of phpinfo.php shows no mention of oracle whatsoever apart from the Configure Command section at the beginning confirming that yes, --with-oracle= was specified.

I have tried setting ORACLE_HOME=/export/oracle/pegasus/product/9.2.0 environment variable before running ./configure but to no avail.

I have also tried adding various Oracle environment variables to my startup scripts for Apache, also to no avail.

Any ideas? I am really under the pump to get this sorted as it is for a new production server here and I am limited timewise to get it up and running.

Cheers

Andy

Comments

Richard Napier

Hi

I’ve successfully implemented a metadata design pattern to execute and store questions that may change over time to form a generic platform.

The first entity represents the questionnaire type ( A, B, C or whatever). The second entity represents the questions. For each question, stored as an inference table in Excel, provide the questionnaire text, the question answer field for which you will need several attributes ( number, Boolean, date etc). Add further attributes for whether the answer is required or not, and to handle any list of values you have for a given attribute, with of course an identifier.

I haven’t always modelled as direct parent-child as many times questions are needed in multiple surveys. Thus, a model with indicator flags to allow the use of a question in any questionnaire is more useful.

Create a relationship for each questionnaire type ( A, B, C etc) and their questions. Display the entity in a Screen. Show only the necessary answer field ( show Boolean answer if type is Boolean and so on) and render it required if the required metadata value is true.

Output the inferred questions with their answers to a custom generic object.

Whilst having a few bits of overhead due to generic structure having to hold answer columns that don’t get used in every question it is easy to build and maintain.

I have successfully implemented this for integrations with Oracle B2C Service, Siebel, Salesforce and other solutions to provide a questionnaire system with further adaptation including attachments, child and grandchild questions, images and more. What you can do will to some degree be dependent on limitations of the connector / the ability to map data to custom tables and so on.

Certainly it can be done with this approach to store the metadata in Excel and infer the instances that serve as both question and answer storage. Excel evidently has the advantage of being accessible and maintainable and copyable - many customers want the possibility to clone existing complex questionnaires in minutes not hours. Part of this model can be implemented in a Decision Service also with the same effect.

Hope that helps. If you have specific questions go ahead. Much of the above was originally modelled on how Siebel stores and manages surveys, for information.

I haven’t gone in to great detail because this is not the purpose of this thread.

Richard

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 28 2007
Added on Jan 29 2007
4 comments
1,711 views