Re: PHP + ORACLE + APACHE
| From: | Thies Arntzen | Date: | Fri, 29 Sep 2000 09:35:42 +0000 |
| Subject: | Re: PHP + ORACLE + APACHE | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3165@lists.php.net to get a copy of this message | ||
please relink your apache adding -lpthread to the LDFLAGS.
the problem here is that a executable thats *not* linked
agains -lpthread cannot load a shared library that is liked
against -lpthread. (libphp4.so - linked against -lclntsh
linked against -lpthread).
this is a glibc-2.1 bug that supposed to be fixed in 2.2.
tc
On Thu, Sep 28, 2000 at 02:43:32PM -0400, Eric Miles wrote:
> I'm trying to install PHP with support for Oracle8i 8.1.5.
>
> I tried the following:
> ./configure --with-oci8=/oracle/product/8.1.5
> --with-oracle=/oracle/product/8.1.5
> --with-apxs=/usr/local/apache/bin/apxs --enable-sigchild
> make
> make install (as root)
> cp php.ini-dist /usr/local/lib/php.ini
>
> when i attempted to restart apache, the httpd processes never started.
> confirmed this with 'ps'. when i take out the --with-oci8 and
> --with-oracle and --enable-sigchild switches from the configure command,
> php installs and runs with apache without support for oracle. i'd very
> much like to have support for oracle since that is my job!
>
> i do have oracle installed (the entire database package) and have run
> several apps against the oracle db as well as remote db's with no
> problems using sqlplus and perl.
>
> everything looks like it's configured correctly on the oracle and apache
> end, what am i doing wrong with php?
>
> Thanks.
>
> P.S. OS is RedHat Linux version 6.1
>
>
> --
> Eric Miles
> Database Administrator
> Boxerjam Inc.
> www.boxerjam.com
> (804)951-3838
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany