If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > slow connection from PHP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-19-04, 12:22
pattison_andrew pattison_andrew is offline
Registered User
 
Join Date: May 2004
Posts: 1
slow connection from PHP

I've just started writig some simple web scripts to access data that is stored in an Informix database, version 7.24. I'm accessing this from PHP via an Apache 2 module on Windows XP. The problem is that there is a long delay in performing some operations. For example, I have a script that does the following:

1. Connect to ODBC.
2. Send query.
3. Fetch result.

Up to stage 2 everything works fine, but on stage 3, the call to odbc_fetch_array takes a minimum of 20 seconds to return. I have hunted about on the web for a possible solution, but nothing came up. Does anyone on here have any idea? I have seen that this may be due to a slow connection caused by name resolution issues, but I'm not sure if this is the same thing as I am experiencing.

Thanks

Andrew.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On