mercredi 6 juillet 2016

Laravel 5.1 connect to SQL Server using centos 6 and PHP 5.6

I used the following link to make a connection to a SQL database using Laravel 5.1: http://ift.tt/29ii2Yd

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?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire