Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-24-2009, 01:32 PM   #1
LQ Newbie
Registered: Sep 2006
Location: EWU
Distribution: Debian Testing
Posts: 16

Rep: Reputation: 0
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

Last edited by he_the_great; 01-24-2009 at 01:35 PM. Reason: Improved installation tips


amd64, apache2, debian, oci8, oracle10g, php5

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Oracle 10g on OpenSuSE 10.3 AMD64 - Installer Hangs thomas_r Linux - Software 4 08-28-2009 11:44 PM
Is it possible to install Oracle 10g (10.2) on Debian Etch? arobinson74 Debian 1 04-09-2007 09:24 PM
RHAS 3.0 i64, Oracle 10g, Oracle RAC, and ASM xmdms Linux - Enterprise 10 01-06-2007 12:07 AM
how to configure php-5.1.4 with oci8 for Oracle9i jimmyjiang Red Hat 2 11-10-2006 08:53 AM
php with oci8 nightmare mariogomide Programming 1 01-31-2006 11:51 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration