Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
dblib not found in a task
  • I have a remote using PDO connection to an MS SQL server that works fine when viewing the site via the browser, however, when I set up a task using the same connection details I get: Error - could not find driver dblib:host=xx.xx.xx.xx:1433;dbname=DATABASE in COREPATH/classes/database/pdo/connection.php on line 78 Does anybody know a way around this?
  • Yes. Configure the proper DSN for this PDO connection. Or if you want to use dblib, make sure it is installed on your webserver. PDO_DBLIB is a PECL package, so you need to install it, it's not a part of a default PHP installation.
  • It's OK, the problem was my machine was using a different version of PHP via terminal than when viewed in the browser.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion