Re: PHP with Oracle support

From: Date: Wed, 07 Feb 2001 14:31:02 +0000
Subject: Re: PHP with Oracle support
References: 1 2 3  Groups: php.install 
Request: Send a blank email to php-install+get-1972@lists.php.net to get a copy of this message
You have to recompile PHP with oci support. Normally, you shouldn't have to recompile Apache. In you Apache startup control script, export all Ora env vars before you start Apache. Also, use LD_PRELOAD for threads support. In my case (SuSE.6.4) LD_PRELOAD=/usr/lib/libpthread.so -Stathis. John Kenney wrote: > > I am using the php4 rpm packages as supplied with RedHat Linux 7. The rpms > support all the features I need, except oracle support. I wanted to know if > it is possible to load the oracle liberies as a DSO, as it would be too > time-consuming to compile apache + php + all the features I need. > > John Kenney > > "Jesse Swensen" <jesse@swensens.net> wrote in message > news:B6A5635C.1DD6D%jesse@swensens.net... > > You will have to compile Oracle support into PHP (you may even have to > > recompile Apache as well). > > -- > > Jesse > > > > > From: "John Kenney" <john@city1.co.uk.spam> > > > Date: Tue, 6 Feb 2001 11:11:27 -0000 > > > To: php-install@lists.php.net > > > Subject: [PHP-INST] PHP with Oracle support > > > > > > I am using php4 & apache 1.3.12 (rpms supplied with RedHat Linux 7). I > > > recently installed Oracle 8.1.6, how can I enable oci support in php? Do > I > > > have to re-compile php or can I load oci liberies as a dso module? > > > > > > John Kenney

« previous php.install (#1972) next »