note 49588 added to ref.oci8
| From: | buswash at gmail dot com | Date: | Wed, 02 Feb 2005 14:51:28 +0000 |
| Subject: | note 49588 added to ref.oci8 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84365@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
----
Manual Page -- http://www.php.net/manual/en/ref.oci8.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49588
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49588&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49588&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49588&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49588&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49588&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49588&report=yes
Search -- http://master.php.net/manage/user-notes.php