note 65361 added to ref.oci8
| From: | f dot kheiri at ucl dot ac dot uk | Date: | Sat, 29 Apr 2006 14:40:37 +0000 |
| Subject: | note 65361 added to ref.oci8 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-110092@lists.php.net to get a copy of this message | ||
To compile PHP 4.4.2 with OCI8 / Oracle 9i / AIX 5.2 (64-bit) / GCC
PHP will automatically compile against the Oracle 64-bit libraries, which PHP being a 32-bit app,
will cause "make" to fail (though it will configure fine). Here's how to avoid this:
1. replace your PHP's ext/oci8 directory with the latest ext/oci8 directory downloadable from
PECL - then remove the old directory entirely
2. rebuild configure by running:
./buildconf --force
...in PHP's root directory. This will rebuild the configure script.
3. using a tool like sed, in your configure file replace all instances of /path/to/oracle/lib with
/path/to/oracle/lib32 - note, this may require GNU's autoconf, m4 and gnumake.
4. export LD_LIBRARY_PATH=/path/to/oracle/lib32
5. ./configure --with-oci-8=/path/to/oracle (and any other options)
Then, the usual make and make install.
----
Server IP: 84.18.202.180
Probable Submitter: 82.35.245.81
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/ref.oci8.php
Edit -- http://master.php.net/note/edit/65361
Del: integrated -- http://master.php.net/note/delete/65361/integrated
Del: useless -- http://master.php.net/note/delete/65361/useless
Del: bad code -- http://master.php.net/note/delete/65361/bad+code
Del: spam -- http://master.php.net/note/delete/65361/spam
Del: non-english -- http://master.php.net/note/delete/65361/non-english
Del: in docs -- http://master.php.net/note/delete/65361/in+docs
Del: other reasons-- http://master.php.net/note/delete/65361
Reject -- http://master.php.net/note/reject/65361
Search -- http://master.php.net/manage/user-notes.php