Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2007 15:44:54 -0600
From:      Sally Janghos <list@deeboz.ca>
To:        freebsd-database@freebsd.org
Subject:   oci8 php extension Bus error (core dumped)
Message-ID:  <20070509214454.GA65527@deeboz.ca>

next in thread | raw e-mail | index | archive | help
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");
?>

Thanks,
  SJ



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