I am using Debian. I have unixODBC installed as well as FreeTDS. I am using PHP
I have read several How-Tos and am stuck on a problem.
I tested FreeTDS by using tsql and it works.
I tested unixODBC by using isql and it works.
When I created a script in PHP and tried to access a database I get the following errors.
Fatal error: Call to undefined function odbc_connect()
I have found multiple php.ini files. Which is the one that Apache2 uses? Is there something in there that needs to be set.
Is there some setting that I missed seting that was not in the How-Tos?
All help is greatly appreciated.