LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-24-2009, 12:32 PM   #1
he_the_great
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:

http://littlebrain.org/2008/05/12/ho...ubuntu-64-bit/

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

http://remorse.nl/weblog/debian_oracle_xe_and_php5/

you will need to:
Code:
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?

/var/log/apache2/error.log
Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/oci8.so' - /usr/lib/php5/20060613/oci8.so: wrong ELF class: ELFCLASS32 in Unknown on line 0

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


Reply

Tags
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 10:44 PM
Is it possible to install Oracle 10g (10.2) on Debian Etch? arobinson74 Debian 1 04-09-2007 08:24 PM
RHAS 3.0 i64, Oracle 10g, Oracle RAC, and ASM xmdms Linux - Enterprise 10 01-05-2007 11:07 PM
how to configure php-5.1.4 with oci8 for Oracle9i jimmyjiang Red Hat 2 11-10-2006 07:53 AM
php with oci8 nightmare mariogomide Programming 1 01-31-2006 10:51 PM


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

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