Re: [PHP] php, oci8 and oracle

2007-03-12 Thread Richard Lynch
PHP runs in the sandbox of the HTTP apache server, but I don't think it inherits all of its Env variables... At any rate, the answer you probably want is: NOTE: I began as "the answer guy" on this mailing list back when I realized that the dude answering this same dang ORACLE_HOME question ever

Re: [PHP] php, oci8 and oracle

2007-03-10 Thread buFka
must Oracle Instant Client be installed anyway? do you know hot to set the variables for www-data? -- View this message in context: http://www.nabble.com/php%2C-oci8-and-oracle-tf3374589.html#a9413831 Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List

Re: [PHP] php, oci8 and oracle

2007-03-09 Thread Miguel J. Jiménez
Hi I use Debian testing with ORACLE INSTANT CLIENT and OCI8 without any problem ... Any how, I think apache run as www-data so if you export the variables as root only root will see them (I think). I think there is a way to export a variable directly within apache configuration files so you do

[PHP] Re: php, oci8 and oracle

2007-03-09 Thread Mikey
sirakov wrote: Hi, I have a problem with oci8. I installed ORACLE Enterprise with php5 and apache, with this script : I receive information for the set modules. I see that oci8 is enabled however ORACLE_HOME is empty. Additionally, I tried to write a little script which I run as a root. Due to

[PHP] php, oci8 and oracle

2007-03-09 Thread sirakov
Hi, I have a problem with oci8. I installed ORACLE Enterprise with php5 and apache, with this script : I receive information for the set modules. I see that oci8 is enabled however ORACLE_HOME is empty. Additionally, I tried to write a little script which I run as a root. Due to this script, I

Re: [PHP] OCI8 under WINDOWS

2007-02-27 Thread Richard Lynch
Restart Apache and see what it spits into the log when it tries to load it. Post that message here for interpretation, if it's not clear. A message not unlike: OCI: dll could not be loaded often means that OCI was trying to load ANOTHER DLL that it couldn't find, not that OCI itself was not loadi

[PHP] OCI8 under WINDOWS

2007-02-26 Thread Miguel J.
Hi, I am trying to use oci8.dll under PHP 5.2 and Apache 2 under Windows XP... The system variables are all configured (TNS_ADMIN, SQLPATH, LD_LIBRARY_PATH, etc...). I use ORACLE Instant Client and sqlplus works OK ... PHP-CLI loads the extension without any problem but I cannot get it load under A

Re: [PHP] OCI8

2005-10-28 Thread Richard Lynch
On Fri, October 28, 2005 10:19 am, Kilbride, James wrote: > I'm running php5.0.5 and I'm trying to get connected to an oracle > server. Pear's DB requires the PHP OCI8 extension. The php website > doesn't give 'installation' instructions for getting php_oci

[PHP] OCI8

2005-10-28 Thread Kilbride, James
I'm running php5.0.5 and I'm trying to get connected to an oracle server. Pear's DB requires the PHP OCI8 extension. The php website doesn't give 'installation' instructions for getting php_oci8.dll which seems to be required in order to connect to an Oracle serve

[PHP] OCI8 1.1 announce

2005-09-07 Thread Antony Dovgal
Hi all, Yesterday OCI8 extension have been updated in the PHP CVS (HEAD only). This updated driver resolves a large amount of bug reports and adds some improvements both functionality and performance, and much better documentation (see here: http://php.net/oci8). A lot of time has been invest

Re: [PHP] oci8 recursive call in log

2005-08-08 Thread James R.
It seems to be that last line of your code which is causing the error. I've no idea why though. -James - Original Message - From: "Ivonne Trejo Silva" <[EMAIL PROTECTED]> To: Sent: Monday, August 08, 2005 2:46 PM Subject: [PHP] oci8 recursive call in log Hi!

[PHP] oci8 recursive call in log

2005-08-08 Thread Ivonne Trejo Silva
Hi! Please excuse my poor English. I have this error in PHP 4.2.3 with oracle 8.1.7: [14-Jul-2005 16:25:36] PHP Warning: OCI8 Recursive call! in /ariadna/cgi-bin/dara/pucmatico/config/conecta_bd.php on line 50 [14-Jul-2005 16:25:36] PHP Warning: OCI8 Recursive call! in /ariadna/cgi-bin/dara/pu

[PHP] oci8 ad oracle 91

2003-06-28 Thread Reuben D. Budiardja
Is it compatible? Can I use oci8 functions to access oracle 9i? What are the drawbacks? Thanks. RDB -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OCI8 Issues

2003-06-27 Thread Jason k Larson
http://us2.php.net/manual/en/function.ociexecute.php http://us2.php.net/manual/en/function.ocicommit.php The optional mode allows you to specify the execution-mode (default is OCI_COMMIT_ON_SUCCESS). If you don't want statements to be committed automatically specify OCI_DEFAULT as your mode. Unl

[PHP] OCI8 Issues

2003-06-27 Thread Moore, Christie
I don't receive any errors from this code but when I look in the look at the table it is not updated. I am also receiving a Warning: _oci_open_server: ORA-12535: TNS:operation timed out. Not sure why. I guess my question is what would make the update not change the valuse in the database but sh

Re: [PHP] oci8

2003-04-05 Thread Paul Dymecki
Well i'm on php4.2.3 Apache and windows xp, and i'm trying to get oci8 working. If this isn't the correct list could you point me in the right direction? thx, Paul From: "Jim Lucas" <[EMAIL PROTECTED]> To: "Paul Dymecki" <[EMAIL PROTECTED]>,&

Re: [PHP] oci8

2003-04-05 Thread Jim Lucas
ay, April 05, 2003 10:30 AM Subject: [PHP] oci8 > Hello, > Sorry for cross posting but i thought i'd get a better response. I was > just wondering if anyone has gotten oci8 working successfully on windows? > I've been

[PHP] oci8

2003-04-05 Thread Paul Dymecki
Hello, Sorry for cross posting but i thought i'd get a better response. I was just wondering if anyone has gotten oci8 working successfully on windows? I've been trying with not much luck. thx, Paul Dymecki _ Protect your PC

[PHP] oci8.max_links missing from php.ini

2001-09-29 Thread John Lim
Hello, I checked the windows php.ini and i did not see any reference to oci8.allow_persistent=On ; allow or prevent persistent links oci8.check_persistent=On ; check that a connection is still validbefore reuse oci8.max_persistent=-1 ; maximum number of persistent links. -1 means no limit oci8.m

Re: [PHP] OCI8 on PHP 4 Windows

2001-08-23 Thread Andrey Hristov
PHP for Windows works under SYSTEM id. Check if SYSTEM have access to read(or any other privilege) to the OCI dll. - Original Message - From: "Ridai Govinda Pombo (Engenharia BSB)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 23, 2001 5:33

[PHP] OCI8 on PHP 4 Windows

2001-08-23 Thread Ridai Govinda Pombo \(Engenharia BSB\)
I need to put on the php_oci8.dll to run. My Platform: Win2k Advanced Server IIS 5.0 PHP 4.0.6 as an CGI (php.exe) The error it returns: X-Powered-By: PHP/4.0.6 Content-type: text/html PHP Warning: Unable to load dynamic library 'C:\Inetpub\PHP\extensions\php_oci8.dll' - The spec

Re: [PHP] PHP/OCI8 design for persistent connection tuning

2001-04-17 Thread Remigiusz Sokolowski
Dave Thomas wrote: > > Yeah, that's what I'm thinking. I could tune the images server way down for flat >content and massive bandwith. > > The only problem I can see is that webmasters hate having to code that extra info. Hi! You could also think about something like sqlRelay (www.firstworks.

Re: [PHP] PHP/OCI8 design for persistent connection tuning

2001-04-17 Thread Dave Thomas
Yeah, that's what I'm thinking. I could tune the images server way down for flat content and massive bandwith. The only problem I can see is that webmasters hate having to code that extra info. Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

Re: [PHP] PHP/OCI8 design for persistent connection tuning

2001-04-17 Thread Kent Sandvik
> My first instinct is to run a second apache process on a separate port or on another IP, that would be tuned for flatfiles. It'd mean that I'd have to code all my scripts to tell it to look for www.somewhere.com:88/banner.gif, which is fine since this is a new architecture. Yes, if you have i

[PHP] oci8 and primary key & its speed

2001-03-26 Thread almir
first of all thank all of you who helpd me up to now, to make this work now when i make SELECT c.column_name, c.position FROM user_cons_columns, c, user_constraints t WHERE t.table_name='YOURTABLENAME' AND t.constraint_type='P' AND t.constraint_name=c.constraint_name AND t.table_name=c.table

[PHP] OCI8 server errors -> client

2001-03-21 Thread Hardy Merrill
I have an Oracle client on a webserver talking to an Oracle server through Oracle networking and the PHP OCI8 interface. When an error occurs on the server, the 'message' that OCIError receives on the client is Error while trying to retrieve text for error ORA-03113 This seems to h

[PHP] OCI8: searching for testcase that causes "failed to rollback outstanding transactions" or SEGFAULTs

2001-02-18 Thread Thies C. Arntzen
hi, (sorry for cross-posting) i'm currently investigating some reported problems with the PHP 4 OCI8 interface. some people have reported SEGFAULTs and "failed to rollback outstanding transactions" messages in their apache error_log. sadly i cannot reproduce any of those p