Re: Problem with oci8

From: Date: Fri, 12 Jan 2001 22:23:50 +0000
Subject: Re: Problem with oci8
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-5834@lists.php.net to get a copy of this message
Hi Mateus, this is not really true. As you mentioned libclntsh is linked with pthread and so must be apache. first, add the oracle lib path to ld.so.conf and run ldconfig. now try the following for apache: LDFLAGS=-lpthread ./configure \ --prefix=/usr/local/apache \ --enable-module=so and for php4: ./configure \ --with-apxs=/usr/local/apachebin/apxs \ --with-oci8 \ --with-pthread with any additional options. furthermore it can be necessary to export some of the following environment vars in your apachectl: ORACLE_HOME ORA_NLS33 LD_PRELOAD (for libclnsh) refer to http://www.php.net/manual/ref.oci8.php or ask me if you like --Victor > Hi, > > I'm trying to run php4 with support to oci8 (Oracle 8.1.6 - Linux) and >apache aborts. > > I read in the FAQ that if MySql libs are linked with pthread, pthread >should be removed from mysql libs to apache get started. > > The lib clntsh (from Oracle) is also linked with pthreads, but, of course, >is not possible, at least for me, to recompile Oracle. > > Suggestions? > > Thanks for your help. > >Mateus Cordeiro Inssa >--------------------- >Linux User: 76186 Kernel: 2.2.17-14cl >ICQ (Licq): 15243895 >--------------------- >mateus@hyperdrive.com.br >mateus@ifnet.com.br > >Tue Jan 2 20:23:27 EST 2001 > >-- >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

« previous php.db (#5834) next »