Open pkelbert opened 9 years ago
Another way to check the missing driver is by running all tests:
phpunit --verbose --stderr -d memory-limit=-1 Zend/Db/AllTests.php
which generates:
6) Zend_Db_Skip_Pdo_MssqlTest::
Skipping Pdo_Mssql: PDO driver 'mssql' is not available
PDO_MSSQL driver seems to no longer be supported by PHP but I can't find a changelog or a note about it.
According to official PDO drivers list -- http://php.net/manual/en/pdo.drivers.php -- there are currently two SQL Server drivers: PDO_SQLSRV for Windows hosts and PDO_DBLIB for Unix and Linux.
After configuring a
tests/TestConfiguration.php
file to connect to a SQL Server, running the following command:gives the following message on each test method:
Note: I needed to apply #494 and #498 for having PHPUnit and Pdo_Mssql tests running.