I have a problem getting ADOdb working with Oracle 9i. Before I tried
to connect to Oracle, I successfully connected to an MS Access table
via a DSN, and looped through all the records in that table, so I am
pretty sure ADOdb is installed correctly, but I could be wrong. To
connect to Oracle 9i, I first go in and un-comment
extension=php_o ci8.dll and extension=php_o racle.dll in the php.ini
file, but when I do that, the CGI script always times out (even for a
script that only calls phpinfo(), which worked before I un-commented
the two lines). I am running this on a Windows 2003 Server with IIS6,
and I'm running the CGI binary (php.exe). All three DLLs
(php_adodb.dll and the two oracle DLLs) are located in the same
folder, so I assume I have all the paths set up correctly. I am new
to PHP, so I don't know where to even start trouble shooting this.
Can anyone suggest things to check? Can I have the wrong version of
DLLs or something like that?
Any help is much appreciated,
TK 3 2930 t_**********@ho tmail.com (TK) wrote in message news:<37******* *************** ****@posting.go ogle.com>... I have a problem getting ADOdb working with Oracle 9i. Before I tried to connect to Oracle, I successfully connected to an MS Access table via a DSN, and looped through all the records in that table, so I am pretty sure ADOdb is installed correctly, but I could be wrong. To connect to Oracle 9i, I first go in and un-comment extension=php_o ci8.dll and extension=php_o racle.dll in the php.ini file, but when I do that, the CGI script always times out (even for a script that only calls phpinfo(), which worked before I un-commented the two lines). I am running this on a Windows 2003 Server with IIS6, and I'm running the CGI binary (php.exe). All three DLLs (php_adodb.dll and the two oracle DLLs) are located in the same folder, so I assume I have all the paths set up correctly. I am new to PHP, so I don't know where to even start trouble shooting this. Can anyone suggest things to check? Can I have the wrong version of DLLs or something like that?
Any help is much appreciated,
TK
Check out some of the troubleshooting tips in http://www.oracle.com/technology/tec...oting_faq.html
Try a simple OCI8 program before you add the complexity of the ADOdb
layer.
There are some other Oracle/PHP resources at http://www.oracle.com/technology/tec...rce/index.html
-- CJ
Thanks for your suggestions. The thing is that not even a simple code
like:
<?php
phpinfo();
?>
works when I uncomment "extension=php_ oci8.dll". When I run that
code, I receive the CGI Timeout error after a while. I'll check out
the links you provided, but if you, or anyone else, have any other
ideas how to fix it, I'd appreciate the input. I didn't point out
that both the web server and the Oracle DB is on the local computer,
so any DB client components needed should be installed and configured.
Thanks,
TK
On 12 Aug 2004 08:37:53 -0700, t_**********@ho tmail.com (TK) wrote: I have a problem getting ADOdb working with Oracle 9i. Before I tried to connect to Oracle, I successfully connected to an MS Access table via a DSN, and looped through all the records in that table, so I am pretty sure ADOdb is installed correctly, but I could be wrong. To connect to Oracle 9i, I first go in and un-comment extension=php_ oci8.dll
Good.
and extension=php_o racle.dll
Bad. This is for the long-dead Oracle 7 interface. Ignore this DLL entirely,
do not use it! (Confusing from the name, but that's how it is).
in the php.ini file, but when I do that, the CGI script always times out (even for a script that only calls phpinfo(), which worked before I un-commented the two lines). I am running this on a Windows 2003 Server with IIS6, and I'm running the CGI binary (php.exe). All three DLLs (php_adodb.d ll and the two oracle DLLs) are located in the same folder, so I assume I have all the paths set up correctly.
There's quite a lot more to it than that to get Oracle support running.
I am new to PHP, so I don't know where to even start trouble shooting this. Can anyone suggest things to check? Can I have the wrong version of DLLs or something like that?
Is the Oracle home accessible to the user that PHP is running as (Oracle 9i by
default installs with relatively tight permissions). Particularly the
$ORACLE_HOME/bin directory.
Did you install Oracle Call Interface when setting up Oracle?
Is $ORACLE_HOME/bin on the PATH environment variable as seen by PHP and the
web server?
--
Andy Hassall / <an**@andyh.co. uk> / <http://www.andyh.co.uk >
<http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Rodrigo Daunaravicius |
last post by:
I can't get this configuration working:
cx_Oracle 4.0.1
Oracle 8.0.6
Python 2.3.3
Win NT4.0 SP6fc
My first shot at the problem was just running the installation thingie
pre-built for win32/python2.3/Oracle8i. It installed with no complaints but
I can't import the module (can't find OCIEnvCreate entry point in the
OCI.dll library).
|
by: rawii |
last post by:
I am running on a Sun box and am trying to install the perl tools to
connect to Oracle. When I try to install the DBD::Oracle module, I
get the following.
Please help.. What does is mean and how can I fix it?
33% make
Skip blib/lib/DBD/Oracle.pm (unchanged)
Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)
Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)
|
by: George |
last post by:
cross posted to comp.database.oracle by mistake.
I'm getting the infamous ora 12154 - TNS could not resolve connect
identifier error.
My computer is running windows 2000 pro in standalone mode (not connected to
a network).
I used the oracle 10g install program to install the software without the
database
and everything went fine.
I then used the assistants to set the parameters for the listener etc.
|
by: baka |
last post by:
Hello,
Here i am having sample program to display selected data on the browser
with Pager functionality of ADODB_Pager.
If i include the NLS_DATE_FORMAT = 'YYYY-MM-DD HH24:MI:SS';
then the Date column field itself disappear from the display.
if I comment it default date will be displayed.
If i remove the ":" from the Seperator(Timestamp) and put the "." it
will work
i.e
|
by: Ed Stevens |
last post by:
A tale of woe, and a question . . .
Last week my boss said to me "we've installed DB2 Connect on this
Solaris box. Make it work."
Now, I've barely seen DB2 Connect on Windows, having fumbled thru one
install and config, with a lot of handholding from IBM Support. I'm
comfortable in unix but have never dealt with DB2 Connect there. (my
main job is as an Oracle DBA, and most of my db's are on Solaris or
AIX) I've found the install...
| |
by: Marc Rondeau |
last post by:
Hi every expert. I very need Help!
I don't know what is wrong in my code. When i try to execute this code on my
access , it give me give this weard error
The stored proc have no parameters, i only need to call it. Thats it
error -2147467259 Error not specified
What is wrong!!?????
|
by: trpost |
last post by:
I just started using the php adodb library for my Oracle transactions,
but am running into a problem when there are 2 simultaneous requests
going on at the same time.
The nature of the php app that I created is it runs a large query that
takes approximately 15 seconds to run and then prints the data out on
a web page.
If I open 2 separate browser windows and call the same report at about
the same time, or while one report is...
|
by: pramodrepaka |
last post by:
i'am working with the datareport without using dataenvironment i.e with the help of ADODB but i am not able to understand how to connect with oracle.please help me
|
by: perl |
last post by:
I want use perl to connect oracle XE and download perl -5.8.8,DBI-1.56.tar.gz DBD-oracle-1.19.tar.gz.and then I install them,I don't know why I can't install them.except them,should I download other packages for perl? what do I need to install them successfully? before installing DBI,should I install the Oracle database?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |