Johan Kruger-Haglert wrote:
I've been trying to get Linux+apache+php+oracle working here with no success, so I've to ask for some help.
Versions: RedHat 9.0 PHP 4.3.4RC1 Oracle Enterprise Server 9.2.x Oracle client 8.1.7
The machine has to run RedHat, and newest version would be good. Oracle9.x doesn't seem to be certified for RedHat9 but I've found guides on how to get it running and it works. PHP is compiled with --with-oci8 against the Oracle9.x server, the compilation works but PHP does not.
What errors does PHP give you?
I've set env values in httpd.conf together with the mod_env module without any success, probably because there are no oracle 9 support.
A common issue seems to be not setting ORACLE_HOME and ORACLE_SID in the shell that starts Apache. Try setting these (and any other NLS_*, TWO_TASK etc. variables) before starting Apache.
Any help to either get PHP using Oracle9 or installing Oracle8 on RedHat9 would be appreciated. It would be good if any answers where cced/sent directly to my e-mail address.
Does any info in http://otn.oracle.com/tech/opensource/php/apache/inst_php_apache_linux.html help?
Chris
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php