Re: short: building php w/ Oracle support
| From: | George Schlossnagle | Date: | Fri, 17 Nov 2000 22:17:31 +0000 |
| Subject: | Re: short: building php w/ Oracle support | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-4520@lists.php.net to get a copy of this message | ||
But if you use both ora_* and oci_* calls, then you do need to have both
compiled in, I believe.
Rasmus Lerdorf wrote:
>
> > 1. I often see people say to compile php with both --with-oci8 _and_
> > with-oracle. Why? Is this a necessity?
>
> You shouldn't ever have to do this. --with-oracle is for the OCI7 client
> libraries and --with-oci8 is for the OCI8 client libs. The OCI8 client
> libs are backward compatible with Oracle7 servers, so even if you need to
> connect to both Oracle 7 and 8 servers you only need --with-oci8
>
> > 2. I want to link php against -lpthreads (trying to solve a core dump). How
> > and when do I supply that? LDFLAGS? CFLAGS?
>
> Chances are you want to link your Apache httpd against pthreads. Not PHP.
>
> -Rasmus
>
> --
> 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