[unixODBC-support] PHP Won't Use unixODBC
Jason.Maitlen at OntarioSystems.com
Tue May 5 15:33:44 BST 2009
Nick, I had checked all the things you mentioned before emailing yesterday and had done an Apache restart so I tried your suggestion of starting Apache in debug mode this morning. Lo and behold it started working properly. I'm not sure what went wacky.
Thanks for your help!
From: Jason Maitlen
Sent: Monday, May 04, 2009 5:11 PM
To: 'unixodbc-support at mailman.unixodbc.org'
Subject: PHP Won't Use unixODBC
Our Linux admin virtualized a server (moved it from its physical home to VMWare) and now PHP scripts that use unixODBC no longer work properly. I can remotely connect to the server and run isql to query any of the DSNs or I can run the PHP script from the command line successfully, but through the browser (Apache) I get the following error:
[unixODBC][Cache ODBC][State : 08S01][Native Code 461]
Communication link failure
This error indicates to me two things, it acknowledges the DSN exists and that it's pointing to the right driver. Ideas?
Attention: This message and all attachments are private and may contain
information that is confidential and privileged. If you received this
message in error, please notify the sender by reply email and delete
the message immediately.
More information about the unixODBC-support