Compile PHP with OCI8 and DBA

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
adrianc.grigoras
Forum Newbie
Posts: 5
Joined: Tue Feb 17, 2009 1:40 pm

Compile PHP with OCI8 and DBA

Post by adrianc.grigoras »

Hi,

I need to compile php-4.4.8 with the following libraries:
- oci8
- dba
- dbx
- bcmath
- bz2
- calendar

I run the ./configure in the following way:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-bz2 --with-calendar --with-bcmath --with-dba --with-dbx

It compiles without error, but when I try php -m I see that only bz2, calendar and bcmath are installed as extensions.

I also followed the install notes from oci8 and it also make and make install without any error, but I can't see it as an library.

Why some of the extensions are active and other aren't.

Thank you in advance!
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: Compile PHP with OCI8 and DBA

Post by Weirdan »

They might have been compiled as loadable extensions (shared libraries, .so) but not loaded in your php.ini. Check if there are appropriate 'extension=<extension_name>.so' lines in your ini file.
Post Reply