Laravel 5.1使用centos 6和PHP 5.6连接到SQL Server

I used the following link to make a connection to a SQL database using Laravel 5.1: http://jacksondean.net/connecting-to-microsoft-sql-server-with-php-from-centos-6-x7-x/

I followed each step and during the installation everything went good, but Laravel uses the lastInsertId function apparently. When I run my project I get the following error:

SQLSTATE[IM001]: Driver does not support this function: driver does not support lastInsertId()

I am using a Centos 6.7 server with PHP 5.6 and Laravel version 5.1 for the project.

Could someone help me out with this error?