I developed an application in CodeIgniter with SQL Server connection. In my development environment all went well, when I move to the production environment (elsewhere), errors occurred.
Informations:
- PHP Version 5.6.18
- Windows Server 2008 (x64)
- Apache 2.4.18 (Win64)
- SQLServer Express Edition 10.50.1600.1
I added the following DLLs in the "ext" folder:
- php_pdo_mysql.dll
- php_pdo_sqlsrv_56_ts.dll
And added in my php.ini the following lines:
- extension=php_pdo_mysql.dll
- extension=php_pdo_sqlsrv_56_ts.dll
Even so, the following error occurs:
Message: Call to undefined function sqlsrv_connect()
I tried many other similar topics here in the forum and the most was the lack of enabling the extension in php.ini, which is not my case ...