note 66426 added to ref.oci8
| From: | rainer dot klier at gmx dot at | Date: | Mon, 22 May 2006 09:08:32 +0000 |
| Subject: | note 66426 added to ref.oci8 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-111808@lists.php.net to get a copy of this message | ||
estoreic (note from 15-May-2006 10:54) is right.
there seems to be a problem with the oci8-api-functions in php 4.4.x.
there are error-messages like these in the error_log:
child pid 22297 exit signal Segmentation fault (11)
*** glibc detected *** double free or corruption (out): 0x00000000019f4730 ***
*** glibc detected *** double free or corruption (!prev): 0x0000000001111d90 ***
*** glibc detected *** corrupted double-linked list: 0x0000000001111d50 ***
using php 4.4.x with oracle 10.x is impossible, until you do the following:
1. download latest oci8-package from http://pecl.php.net/package/oci8
2. extract package somewhere
3. go to php-4.4.x-source directory
4. rm -rf ext/oci8
5. cp extraceted oci8-1.2.x directory to/as ext/oci8
6. make distclean
7. ./buildconf --force
8. ./.configure (with the options you need)
9. make
10. only for x86_64:
create pear-install.ini:
-----------------------------------------------
[PHP]
memory_limit = 128M ; Maximum amount of memory a script may consume (8MB)
------------------------------------------------
11. edit Makefile:
replace:
PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0
with:
PEAR_INSTALL_FLAGS = -cpear-install.ini -dshort_open_tag=0 -dsafe_mode=0
12. make install
have fun!
oracle connections will work now!
----
Server IP: 66.163.161.117
Probable Submitter: 212.95.11.50 (proxied: 10.10.2.84)
----
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/66426
Del: integrated -- http://master.php.net/note/delete/66426/integrated
Del: useless -- http://master.php.net/note/delete/66426/useless
Del: bad code -- http://master.php.net/note/delete/66426/bad+code
Del: spam -- http://master.php.net/note/delete/66426/spam
Del: non-english -- http://master.php.net/note/delete/66426/non-english
Del: in docs -- http://master.php.net/note/delete/66426/in+docs
Del: other reasons-- http://master.php.net/note/delete/66426
Reject -- http://master.php.net/note/reject/66426
Search -- http://master.php.net/manage/user-notes.php