RE: [PHP-DB] Apache, php and Oracle
| From: | Nold, Mark | Date: | Tue, 15 Aug 2000 05:35:57 +0000 |
| Subject: | RE: [PHP-DB] Apache, php and Oracle | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-2057@lists.php.net to get a copy of this message | ||
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster@normandy.com.au and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
I remember that there was a specific glibc patch i had to put against Ora
8.0.5 under Redhat 6.1.
Have you tried the technet.oracle.com downloads for this patch? There was
also another patch that related to Ora8 clients on linux to a remote Ora7
(on something else)
mn
-----Original Message-----
From: Rasmus Lerdorf [mailto:rasmus@php.net]
Sent: Sunday, August 13, 2000 4:12 AM
To: Martin Roest
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Apache, php and Oracle
Did you figure this out yet? Basically what you are running into is a bug
in glibc-2.1.x which prevents a binary that has not been linked against
libpthreads from loading a library that has. You can either use the
Oracle 8.0.5 libraries which were not linked against pthreads, or you can
recompile your Apache httpd binary and link in -lpthreads
-Rasmus
On Fri, 11 Aug 2000, Martin Roest wrote:
> Hi,
>
> We've got some serious problems with our Apache installation.
>
> We need php with oci support only apache keeps crashing.
> We've got a Redhat 6.1 system with apache 1.3.12, php 4.0.1pl2 and
> Oracle 8.1.6 client libraries.
> When we try to start apache it crashes. After compiling with
> LIBS="-L$ORACLE_HOME/lib -lclntsh" apache will start but when a
> php-script is called with oci functions the httpd crashes.
> I've tried lots configurations, upgraded our glibc version different
> enviorment stuff but nothing seems to work.
> anyone ideas???
>
> thnx in advance,
>