can't compile PHP5.2 with Oracle ORA support, please help!
558892Jan 29 2007 — edited Jan 31 2007Hi 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