note 49588 modified in oci8.setup by sixd

From: Date: Fri, 26 Jun 2009 18:29:33 +0000
Subject: note 49588 modified in oci8.setup by sixd
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-157571@lists.php.net to get a copy of this message
PHP 5.0.3 + Solaris 9 (UltraSPARC) + Apache 2.0.51 + Oracle 10g Instant Client 10.1.0.3 Thanks to Jakob's patch I got this combination working. Here are some things that helped me: 1. After getting this: ld: fatal: file /opt/oracle/instantclient/libclntsh.so: wrong ELF class: ELFCLASS64 I realized that PHP is a 32-bit application and that all 3rd-party libraries need to be 32-bit as well. You need to download the 32-bit version of Instant Client (basic + sdk), even if you are running the 64-bit Solaris OS. 2. My patch command syntax was a little different: patch -p0 -i php5_ociclient.patch config.m4 Thanks again to Jakob for porting the patch over to PHP 5. Marc --was-- PHP 5.0.3 + Solaris 9 (UltraSPARC) + Apache 2.0.51 + Oracle 10g Instant Client 10.1.0.3 Thanks to Jakob's patch I got this combination working. Here are some things that helped me: 1. After getting this: ld: fatal: file /opt/oracle/instantclient/libclntsh.so: wrong ELF class: ELFCLASS64 I realized that PHP is a 32-bit application and that all 3rd-party libraries need to be 32-bit as well. You need to download the 32-bit version of Instant Client (basic + sdk), even if you are running the 64-bit Solaris OS. 2. My patch command syntax was a little different: patch -p0 -i php5_ociclient.patch config.m4 Thanks again to Jakob for porting the patch over to PHP 5. Marc http://php.net/manual/en/oci8.setup.php

« previous php.notes (#157571) next »