ODBC weirdness

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
PhpDog
Forum Commoner
Posts: 58
Joined: Mon Jan 14, 2008 10:23 am

ODBC weirdness

Post by PhpDog »

I have a proprietory database with which I need to communicate, so I have to use odbc.

The odbc works ok when I try it via Excel. This all runs on a Windows XP Pro SP2 box with Apache 2.0.59 and PHP 5.2.5.

Intermittently Apache thows a "The instruction as "0x053ea16c) referenced memory at "0x00000036". This memory could not be 'read' error, or php complains with 'SQL error: Table not found, SQL state S0002 in SQLExecDirect in C:\Program Files\Apache Group\Apache2\htdocs ...'

This happens on both my client's machine and my own development box.

Any ideas would be most welcomed, while I stil have some hair left to pull out! :D

Prior to this I've used the exact same setup to reference a MS SQL 2005 Server, although not using odbc, bringing back MUCH more data without any trouble at all.
Post Reply