samedi 24 juin 2017

Install php7.1-odbc in Homestead

Trying to instigate an odbc connection on Laravel/Homestead installation.

The web app itself works fine with db connections to MySQL but when I try to connect via tck/odbcconnector for Laravel I run into Could not find driver error.

I installed php7.1-odbc via apt-get and the connection will work fine. However it will complete break my Laravel installation meaning the web app breaks. I am no longer now able to sign in as it gets a 500 error due to the following:

MethodNotAllowedHttpException in RouteCollection.php line 218:

One thing I feel the cold be causing the issue is when installing php7.1-odbc it says a local version of php.ini is installed with local modifications. I select keep local but issue still arises.

I'm not a php developer in the slightest and have unfortunately been given a task of looking after this web app for the foreseeable future. So would like to have a working local dev environment.

Version Laravel 5.2.45



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire