samedi 18 août 2018

Laravel Composer PHP version changed from 5.6 to 7.0.10 gives error

I installed my laravel/composer using the PHP version 5.6 and everything was working smoothly now I need to use the LDAP so when I checked and it was given that I need PHP 7.0 or higher to use that so I tried changing the PHP version to 7.0.10 and I am getting following error to the previous code which was working find.

QueryException
could not find driver

I tried updating the composer but nothing I working fine, any suggestions.

I am using SQL Server, Laravel Framework 5.4.36, PHP 7.0.10. I need to implement LDAP which is mentioned here so I am making these changes: https://github.com/Adldap2/Adldap2-Laravel

The code works fine when I switch back to PHP 5.6 so it seems like there is nothing wrong with the code, My guess is something to do with PHP. Is there a way to implement LDAP without switching the PHP version.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire