Re: Oracle8i x PHP4 x Linux
| From: | Deirdre Saoirse | Date: | Fri, 04 Aug 2000 23:25:26 +0000 |
| Subject: | Re: Oracle8i x PHP4 x Linux | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1796@lists.php.net to get a copy of this message | ||
My one remaining problem is ORACLE NOT AVAILABLE (to the nobody user)
despite having been added to the right group. I'm not quite sure how to
address this one.... It has been quite a while since I did a raw Oracle
install without a crib database server. :)
On Fri, 4 Aug 2000, Andreas Karajannis wrote:
> - Don't use a precompiled Apache - they are not able to load libphp4.so
> due to a glibc bug. Instead compile apache yourself, adding
> LDFLAGS=-lpthreads to your environment before configuring apache. See
> several mails by Thies regarding this issue.
> - Either add the directory that contains libclntsh.so.8.0 (usually
> $ORACLE_HOME/lib) to /etc/ld.so.conf file and run ldconfig
> OR modify apachectl (or whatever startscript you use) that it adds the
> above dir to the environment variable LD_LIBRARY_PATH.
> - Add ORACLE_HOME to the environment, either by setting it in the
> environment of the user starting apache or by also exporting it in the
> apache startscript. Otherwise you won't be able to connect to Oracle.
> Especially using PutEnv in httpd.conf does _not_ work.
--
_Deirdre * http://www.sfknit.org * http://www.deirdre.net
"We can always count on the British. Except for the Revolutionary War
they've been perfect." -- Mel Brooks, on the first Concorde flight since
the Paris crash.