Hello php-dev, OS: SuSE 7.3, Linux gap 2.4.19-rmap14a () Ora: 9.2.0.2.0
<pre> <? $d = $u = 'si'; $p = '*******'; putenv('ORACLE_SID=GAP'); $db = OCILogon($u,$p, "GAP"); if ($db) echo "Connected"; else { echo "Can not connect."; print_r(OCIError()); } ?> #gdb sapi/cli/php #run -f c.php [New Thread 1024 (LWP 20609)] <pre> Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 20609)] 0x40a65301 in snauca_check_adapter () from /opt/oracle/lib/libclntsh.so.9.0 (gdb) bt #0 0x40a65301 in snauca_check_adapter () from /opt/oracle/lib/libclntsh.so.9.0 #1 0x40a63a04 in nau_viat () from /opt/oracle/lib/libclntsh.so.9.0 #2 0x40a5cc5c in nau_gettab () from /opt/oracle/lib/libclntsh.so.9.0 #3 0x40a5b2db in nau_ini () from /opt/oracle/lib/libclntsh.so.9.0 #4 0x40a50c43 in nainit () from /opt/oracle/lib/libclntsh.so.9.0 #5 0x409fd846 in nsnainit () from /opt/oracle/lib/libclntsh.so.9.0 #6 0x409f24c0 in nsopen () from /opt/oracle/lib/libclntsh.so.9.0 #7 0x409db309 in nscall1 () from /opt/oracle/lib/libclntsh.so.9.0 #8 0x409da840 in nscall () from /opt/oracle/lib/libclntsh.so.9.0 #9 0x40a0dd24 in niotns () from /opt/oracle/lib/libclntsh.so.9.0 #10 0x40a7bb59 in nigcall () from /opt/oracle/lib/libclntsh.so.9.0 #11 0x40a12ec3 in osncon () from /opt/oracle/lib/libclntsh.so.9.0 #12 0x40838553 in kpuadef () from /opt/oracle/lib/libclntsh.so.9.0 #13 0x408c7565 in upiini () from /opt/oracle/lib/libclntsh.so.9.0 #14 0x408b685b in upiah0 () from /opt/oracle/lib/libclntsh.so.9.0 #15 0x40810536 in kpuatch () from /opt/oracle/lib/libclntsh.so.9.0 #16 0x408aaaec in OCIServerAttach () from /opt/oracle/lib/libclntsh.so.9.0 #17 0x08100554 in _oci_open_server (dbname=0x83facd4 "GAP", persistent=0) at /home/work/install/php-4.3.0RC1/ext/oci8/oci8.c:2432 #18 0x08100df0 in oci_do_connect (ht=3, return_value=0x83faa54, this_ptr=0x0, return_value_used=1, persistent=0, exclusive=0) at /home/work/install/php-4.3.0RC1/ext/oci8/oci8.c:2588 #19 0x08105daf in zif_ocilogon (ht=3, return_value=0x83faa54, this_ptr=0x0, return_value_used=1) at /home/work/install/php-4.3.0RC1/ext/oci8/oci8.c:4223 #20 0x08248422 in execute (op_array=0x83f617c) at /home/work/install/php-4.3.0RC1/Zend/zend_execute.c:1595 #21 0x08234e64 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /home/work/install/php-4.3.0RC1/Zend/zend.c:840 #22 0x081f872e in php_execute_script (primary_file=0xbffff2e0) at /home/work/install/php-4.3.0RC1/main/main.c:1560 #23 0x0824ed27 in main (argc=3, argv=0xbffff364) at /home/work/install/php-4.3.0RC1/sapi/cli/php_cli.c:711 #24 0x410767ee in __libc_start_main () from /lib/libc.so.6 Best regards, Andrew Sitnikov e-mail : [EMAIL PROTECTED] GSM: (+372) 56491109 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php