-   Linux - Software (
-   -   Debian AMD64 Oracle 10g XE and PHP OCI8 (

he_the_great 01-24-2009 12:32 PM

Debian AMD64 Oracle 10g XE and PHP OCI8
Trying to get these three things to work together has been quite a pain. I was able to install Oracle just fine, good instructions can be found:

I was even able to install the OCI8 modules for php with,

you will need to:

apt-get install libc6-dev-i386
export CFLAGS='-m32'

before running the pear command.

The issue is that during PHP startup it will complain it is of the "wrong ELF class: ELFCLASS32" Is there a way to get around this without going 32bit?


PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/' - /usr/lib/php5/20060613/ wrong ELF class: ELFCLASS32 in Unknown on line 0

All times are GMT -5. The time now is 11:00 AM.