note 66426 modified in ref.oci8 by sixd

From: Date: Thu, 10 Apr 2008 22:34:43 +0000
Subject: note 66426 modified in ref.oci8 by sixd
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-138163@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! --was-- 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! http://php.net/manual/en/ref.oci8.php

« previous php.notes (#138163) next »