oci8 php extension Bus error (core dumped)

View: New views
2 Messages — Rating Filter:   Alert me  

oci8 php extension Bus error (core dumped)

by Sally Janghos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
freebsd-database@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-database
To unsubscribe, send any mail to "freebsd-database-unsubscribe@..."

Re: oci8 php extension Bus error (core dumped)

by itetcu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 9 May 2007 15:44:54 -0600
Sally Janghos <list@...> 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
_______________________________________________
freebsd-database@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-database
To unsubscribe, send any mail to "freebsd-database-unsubscribe@..."