Hi,
I'm desperate...
I've been installed Oracle Client. 9.1i in some computers and 9.2i in
others. The installation was sucefull, because, I can use SQL Plus,
without problems...
Now I'm trying to connect, PHP with Oracle, and I'm experimented to
diferents problems:
1) When I start PHP, I get the error message: 'Unable to load dynamic
library c:\php\extensions\php_oci8.dll'
.. I'm quite sure that this file exist!!. More than this, I already use
php_socket.dll, and this library is loaded ok.
.. I've been already check PATH, and "c:\oracle\ora9x\bin" is there.
.. I tried to copy "php_oci8.dll" and "oci8.dll" to "system32" folder but
doesn't work.
What I'm missing????
2) In just one machine working with Oracle 9.2i client, I can load
php_oci8.dll (i get this installing an uninstalling php, iis, and oracle
client too many times, so I don't know why it's working...). But, (there is
always a but...), when I try to connect, I get the following error:
"Warning: ocilogon(): _oci_open_server: ès":
.. Enviroment variables like "ORACLE_SID", "ORACLE_HOME" "TNS_ADMIN"
"LD_LIBRARY_PATH" are OK!
.. "tsnames.ora" is ok to (I know that because I can use SQLPlus, and tnsping
is fine)
Again: Wha't I'm missing???
I'm using PHP version 4.x (I already tried 4.0, 4.1, 4.2 and 4.3.4, and
always get the same problem), IIS 4.5, and Windows XP Pro.
Thanks a lot!! 1 4168
On Thu, 20 Nov 2003 12:27:44 -0300, "Gustavo Oliveira"
<lg****************@matrix.inf.br> wrote: I've been installed Oracle Client. 9.1i in some computers and 9.2i in others. The installation was sucefull, because, I can use SQL Plus, without problems...
Now I'm trying to connect, PHP with Oracle, and I'm experimented to diferents problems:
1) When I start PHP, I get the error message: 'Unable to load dynamic library c:\php\extensions\php_oci8.dll' . I'm quite sure that this file exist!!. More than this, I already use php_socket.dll, and this library is loaded ok.
That error can mean a bit more than it says; e.g. one of the libraries that
library depends on can't be loaded.
. I've been already check PATH, and "c:\oracle\ora9x\bin" is there.
OK... but is it there in the environment the web server sees? This can be
different to your user's environment.
. I tried to copy "php_oci8.dll" and "oci8.dll" to "system32" folder but doesn't work.
Don't do that. Remove them from system32 else you'll get into a worse mess.
Besides, it's oci.dll on Windows, not oci8.dll.
What I'm missing????
The usual things are:
(a) Environment for the webserver different from that of your user, so it works
for you, but not for your webserver.
(b) Oracle 9i installs the Oracle home with tighter permissions than it did in
8i, so make sure your webserver user has at least read and execute permissions
on the Oracle home directories and files.
As a test, you could alter the service for your webserver to log on as your
user, rather than the system user it's probably set to. If this works, then
it's one of the issues above.
2) In just one machine working with Oracle 9.2i client, I can load php_oci8.dll (i get this installing an uninstalling php, iis, and oracle client too many times, so I don't know why it's working...). But, (there is always a but...), when I try to connect, I get the following error: "Warning: ocilogon(): _oci_open_server: è
s":
Is that what appears? Corrupted characters like that? Looks bad.
What sort of client install did you do? Did it install the OCI libraries? I
can't remember off the top of my head what gets installed in a client install
since I usually do a Custom install to pick and choose the bits I want.
. Enviroment variables like "ORACLE_SID", "ORACLE_HOME" "TNS_ADMIN" "LD_LIBRARY_PATH" are OK!
LD_LIBRARY_PATH doesn't apply to Windows; it just uses PATH for both libraries
and executables.
. "tsnames.ora" is ok to (I know that because I can use SQLPlus, and tnsping is fine)
--
Andy Hassall (an**@andyh.co.uk) icq(5747695) ( http://www.andyh.co.uk)
Space: disk usage analysis tool ( http://www.andyhsoftware.co.uk/space) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Patricia |
last post by:
I am a new Oracle user. I am trying to install Oracle 9i Personal
Edition on Windows ME; however, I am getting the following error
during the installation:
Oracle Database Configuration Assistant...
|
by: Nick Palmer |
last post by:
Hi all,
Is there a DB2 equivilant to Oracle's DB Link functionality ? I have two
DB2 databases and I need to get access to the tables in one from the other.
In Oracle I would just create a DB...
|
by: Mark A |
last post by:
Here is Mark Townsend's (Oracle Product Manager) explanation and
justification for posting in the DB2 newsgroup, as posted on the Oracle
newsgroup, and my response:
"Mark Townsend"...
|
by: Budd |
last post by:
I don't know how to connect to oracle database by asp.net
Anyone have any simple or step for me to connect??
i have no idea.... i have search from google and get the code
But it seen i have miss...
|
by: Medhatithi |
last post by:
Hi,
I am facing a strange problem with decode function in oracle. My table name is status_hist. Below is the query I am hitting on this table:
select...
|
by: arunbalait |
last post by:
Hi all
Somebody plz help me.. How to store/retrieve images from the oracle8i table.
I tried using the article BLOB in this forum.. It works for SQLServer, But I want to know how to implement in...
|
by: ramorac |
last post by:
Hi..
My requirement is to populate the fields in the front end screen(application screen) points weightage and rating when a particular answer is chosen from the combobox in front end.
For...
|
by: yashwanth |
last post by:
Hi,
I am new to oracle and i wanted to use oracle as data base for my java project,i need to use files for saving data how can i use it...?
|
by: ravi |
last post by:
hi friends,
The below given query is work on oracle.Help me out write same query
on sqlserve i want the same resule.
select * from (select trunc(sysdate) + level from dual
2 connect by level...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM).
In this month's session, the creator of the excellent VBE...
|
by: MeoLessi9 |
last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: Aftab Ahmad |
last post by:
Hello Experts!
I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: marcoviolo |
last post by:
Dear all,
I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
| |