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
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
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
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
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
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
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
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
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
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
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!
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
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
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
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
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]>,&
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
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
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
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
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
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.
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
> 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
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
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
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
27 matches
Mail list logo