Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2007 19:19:46 +0300
From:      Ion-Mihai Tetcu <itetcu@FreeBSD.org>
To:        Sally Janghos <list@deeboz.ca>
Cc:        freebsd-database@freebsd.org
Subject:   Re: oci8 php extension Bus error (core dumped)
Message-ID:  <20070518191946.567e1f6c@it.buh.tecnik93.com>
In-Reply-To: <20070509214454.GA65527@deeboz.ca>
References:  <20070509214454.GA65527@deeboz.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 9 May 2007 15:44:54 -0600
Sally Janghos <list@deeboz.ca> wrote:

> I'm experiencing a Bus error (core dumped) when running a
> oci_connect.  Can anyone give me some advise to start troubleshooting?
> 
> Here is what I've got on my system (the Oracle 10g Express instance
> is on a WinXP box):
> 
> FreeBSD 6.1-RELEASE-p2
> 
> PHP 5.2.1 with Suhosin-Patch 0.9.6.2 (cli) (built: Mar 21 2007
> 20:28:04) Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend
> Technologies
> 
> OCI8 Support => enabled
> Version => 1.2.3
> Revision => $Revision: 1.269.2.16.2.30 $
> Active Persistent Connections => 0
> Active Connections => 0
> Oracle Version =>
> Compile-time ORACLE_HOME =>
> Libraries Used =>
> Temporary Lob support => disabled
> Collections support => disabled
> 
> Directive => Local Value => Master Value
> oci8.default_prefetch => 10 => 10
> oci8.max_persistent => -1 => -1
> oci8.old_oci_close_semantics => 0 => 0
> oci8.persistent_timeout => -1 => -1
> oci8.ping_interval => 60 => 60
> oci8.privileged_connect => Off => Off
> oci8.statement_cache_size => 20 => 20
> 
> The script I'm trying to run:
> 
> <?php
>   PutEnv("ORACLE_SID=EX");
>   PutEnv("ORACLE_HOME=/usr/local/oracle8-client");
>   $c=oci_connect("user", "passwd", "EX");
> ?>

Please check your 
/usr/local/oracle8-client/network/admin/tnsnames.ora

So you have 'EX' defined correctly in there ?
Does it match the corresponding config on your windows box ?

--
IOnut



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070518191946.567e1f6c>