note 49588 modified in ref.oci8 by sixd
| From: | sixd@php.net | Date: | Thu, 10 Apr 2008 22:13:47 +0000 |
| Subject: | note 49588 modified in ref.oci8 by sixd | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138145@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/ref.oci8.php