R: [PHP-DB] Connecting to Oracle using PHP

From: Date: Mon, 18 Sep 2000 09:24:37 +0000
Subject: R: [PHP-DB] Connecting to Oracle using PHP
Groups: php.db 
Request: Send a blank email to php-db+get-2942@lists.php.net to get a copy of this message
Ciao Roberto > -----Messaggio originale----- > Da: Paulson, Joseph V. "Jay" [mailto:jay.paulson@viatel.com] > Inviato: venerdì 15 settembre 2000 20.35 > A: php-db@lists.php.net > Oggetto: [PHP-DB] Connecting to Oracle using PHP > > > Hello everyone! > I have a few questions real quick for you. To connect to an > Oracle database > on a separate machine from php, what do I need other than the > OCI libraries include headers, which you can copy from your install dirs instead of installing Server > installed on the computer with the php? Also, is there any > way to tell what > group a user is a member of in apache? Lastly, to connect to > an Oracle db > with php do you need to have the Oracle client installed on > the machine with > php? yes, and export in your "/etc/rc.d/init.d/httpd" (on RedHat) following environment vars: - ORACLE_HOME - TWO_TASK - ORA_NLS - ORA_NLS33 Remember that user running Apache have to read all is in your $ORACLE_HOME > > Thanks, > Jay

« previous php.db (#2942) next »