Re: [PHP-DB] oci driver performance

2008-10-20 Thread Christopher Jones
Chris wrote: > Hi all, > > Using php 5.2.6 + oci driver 1.3.4 from pecl > > Has anyone had any issues with the oci8 driver performance? > > I'm doing some profiling using xdebug and all of the time seems to be > spent in oci_execute and oci_fetch_array. This shows up when I use > jmeter to hit t

Re: [PHP-DB] OCI

2008-07-22 Thread Christopher Jones
Daniel Brown wrote: > On Mon, Jul 21, 2008 at 12:22 PM, Mad Unix <[EMAIL PROTECTED]> wrote: >> How could I build the OCI8 extension module for php5 under CentOS5? >> I have installe PHP/APACHE/MYSQL through yum install ... > > OCI8 is a PECL extension. > > 'pecl install oci8' > > If

Re: [PHP-DB] OCI

2008-07-21 Thread Daniel Brown
On Mon, Jul 21, 2008 at 12:22 PM, Mad Unix <[EMAIL PROTECTED]> wrote: > How could I build the OCI8 extension module for php5 under CentOS5? > I have installe PHP/APACHE/MYSQL through yum install ... OCI8 is a PECL extension. 'pecl install oci8' If you need more help with that, you ca

RE: [PHP-DB] OCI Binding problem

2005-04-20 Thread Juffermans, Jos
Sent: 20 April 2005 14:05 To: 'php-db@lists.php.net' Subject: RE: [PHP-DB] OCI Binding problem Hi, Since flags are normally bitmaps, FLAG1 | FLAG2 should have the same result as FLAG1 + FLAG2. I've tried your suggestion anyway but it had no result. I've also tried to upperca

RE: [PHP-DB] OCI Binding problem

2005-04-20 Thread Juffermans, Jos
riginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 April 2005 13:40 To: [EMAIL PROTECTED]; php-db@lists.php.net Subject: RE: [PHP-DB] OCI Binding problem Sorry, trigger happy. Also try ":postalcode" in uppercase. Neil -Original Message- From: Juffe

RE: [PHP-DB] OCI Binding problem

2005-04-20 Thread N . A . Morgan
Jos, This may or may not sort out the problem, but OCI_ASSOC | OCI_FETCHSTATEMENT_BY_ROW should be OCI_ASSOC+OCI_FETCHSTATEMENT_BY_ROW. Neil -Original Message- From: Juffermans, Jos [mailto:[EMAIL PROTECTED] Sent: 20 April 2005 12:18 To: 'php-db@lists.php.net' Subject: [PHP-DB] OCI Bind

RE: [PHP-DB] OCI Binding problem

2005-04-20 Thread N . A . Morgan
Sorry, trigger happy. Also try ":postalcode" in uppercase. Neil -Original Message- From: Juffermans, Jos [mailto:[EMAIL PROTECTED] Sent: 20 April 2005 12:18 To: 'php-db@lists.php.net' Subject: [PHP-DB] OCI Binding problem Hi, Imagine this code: Both queries should result in the sa

Re: [PHP-DB] OCI ignoring NLS_DATE_FORMAT parameter

2005-03-31 Thread Christopher Jones
Doug McMaster wrote: Regardless of how I set the NLS_DATE_FORMAT parameter, when I do a select statement DATE fields are returned in the Oracle default DD-MON-RR format. I can successfully set NLS_DATE_FORMAT using either an environment variable and restarting apache or by using ALTER SESSION SE

Re: [PHP-DB] oci function

2002-11-07 Thread Maxim Maletsky
you need to compile it with oci8 extension: http://uk.php.net/manual/it/ref.oci8.php -- Maxim Maletsky [EMAIL PROTECTED] "Maziar" <[EMAIL PROTECTED]> wrote... : > Hi everybody > > What should I do for useing OCI functions of oracle 9i in PHP4. I think I > should recompile PHP with somthing

Re: [PHP-DB] oci functions

2002-11-07 Thread .: B i g D o g :.
Compile php with the OCI configuration option. That will work with oracle9i. On Thu, 2002-11-07 at 08:32, Maziar wrote: > Hi everybody > > What should I do for useing OCI functions of oracle 9i in PHP4. I think I > should recompile PHP with somthing but I don't know with what and how should > I

RE: [PHP-DB] OCI Query Results

2001-12-12 Thread Rankin, Randy
Nevermind, I figured it out. There was a duplicate OCIfetchinto statement in the script. Randy -Original Message- From: Rankin, Randy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 10:12 AM To: PHP List Cc: Barker, John Subject: [PHP-DB] OCI Query Results We are using O

RE: [PHP-DB] OCI support not functioning

2001-08-07 Thread Rankin, Randy
Did you install the Oracle client? -Original Message- From: Tom Tsongas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 11:53 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] OCI support not functioning Hi folks. I posted on the install board but I figured I would run this by the gu

Re: [PHP-DB] OCI support not functioning

2001-08-07 Thread Thies C. Arntzen
On Tue, Aug 07, 2001 at 09:52:37AM -0700, Tom Tsongas wrote: > Hi folks. I posted on the install board but I figured I would run this > by the guru's here as well. :) > > I am attempting to get php up and running with oracle and oci8 support > bundled in. My configure statement is as follows: >

Re: [PHP-DB] OCI Persistent Conncetion - how is shared?

2001-07-26 Thread Thies C. Arntzen
On Thu, Jul 26, 2001 at 01:18:11PM +0200, cristiano wrote: > A question... > How is shared the connection with oracle db by using OCIPLogon() function? > > - One for each child web processes that's the way it works... tc -- PHP Database Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP-DB] OCI 8 and rowid cause SIGSEGV

2001-02-26 Thread Thies C. Arntzen
On Sat, Feb 24, 2001 at 05:43:58PM +0100, Sven Voigt wrote: > On Friday 23 February 2001 17:03, you wrote: > > I suppose the authors never concieved a replacement parameter for select > > > > specification. > > > > try: > > > $sql =3D "select foo, bar, rid from masterdata WHERE rid=3D:rid" > > > >

Re: [PHP-DB] OCI 8 and rowid cause SIGSEGV

2001-02-24 Thread Joe Brown
The the colon has special meaning. Look up the OCI man page, specifically - look up the OCIBindByName function. http://www.php.net/manual/en/ref.oci8.php It may give you a hint for the use of the colon and it's use in positioning bound variables. -- Without knowing your table structure and how

Re: [PHP-DB] OCI 8 and rowid cause SIGSEGV

2001-02-24 Thread Sven Voigt
On Friday 23 February 2001 17:03, you wrote: > I suppose the authors never concieved a replacement parameter for select > > specification. > > try: > > $sql =3D "select foo, bar, rid from masterdata WHERE rid=3D:rid" > > You need to loose the colon ":" or place it to the right of a where cla > use

Re: [PHP-DB] OCI 8 and rowid cause SIGSEGV

2001-02-23 Thread Joe Brown
I suppose the authors never concieved a replacement parameter for select specification. try: > $sql = "select foo, bar, rid from masterdata WHERE rid=:rid" You need to loose the colon ":" or place it to the right of a where clause. <[EMAIL PROTECTED]> wrote in message F114C0EF28F3D211B7E8400061

Re: [PHP-DB]OCI ORA-12154 error

2001-01-18 Thread R Maier
Hallo Andreas, hi Richard, hola David, with your help I now found the problem. when I checked with echo phpinfo(INFO_ENVIRONMENT); I saw that ORACLE_HOME was not set anymore and LD_LIBRARY_PATH was set wrong. I first tried to set these variables with putenv("ORACLE_HOME=/opt/oracle/product.

Re: [PHP-DB]OCI ORA-12154 error

2001-01-18 Thread Andreas Karajannis
> even so my php4 is running on the server where the database is installed, > > I tried your putenv to all of the oracle variables. putenv won't help. The Oracle client libraries are initialized during server startup, so they won't see the environment set via putenv in a PHP script. This applie

Re: [PHP-DB]OCI ORA-12154 error

2001-01-18 Thread R Maier
Hi Richard, hola David, even so my php4 is running on the server where the database is installed, I tried your putenv to all of the oracle variables. It did not change any. All these variables are usually set by the root profile where oracle and apache start: K10oracle K20apache I had the OCIInte

Re: [PHP-DB]OCI ORA-12154 error

2001-01-17 Thread Richard S. Crawford
For what it's worth, here is the script I've been using to hook up to Oracle (specific for my system removed, of course...): Success" ; } else { echo "Failed connecting to oracle. Exiting program."; exit; } ?> The key proved to be the two putenv statements at the beginning.