Reputation: 3099
We updated FreeTDS on our CentOS box and can connect using tsql cli. Before the update, tsql -C reported 0.91 and now it reports 0.95.
The new versions is using a freetds.conf found in /usr/local/etc instead of the old /etc/ directory.
PHP using PDO is still referencing the old freetds and the old freetds.conf. I know this because changing the old freetds.conf is still affecting our PHP scripts/
How do we get PHP and PDO to use the new freetds.
Upvotes: 1
Views: 1140
Reputation: 14331
You have a few options.
ln -S /etc/freetds.conf /usr/local/etc/freetds.conf
--sysconfdir /etc
to the configure command before compiling.More info: http://www.freetds.org/userguide/freetdsconf.htm
Good luck!
Upvotes: 2