Symfony connect to database: ODBC connection on PHP7

纵然是瞬间 提交于 2020-01-04 06:15:07

问题


Just use the Driver of Microsoft Github repo - it was already working with the beta and now they stabilized it - I forgot to "answer" the question here by myself - sorry for that delay. Link: Azure MSSQL

How is it possible to connect from symfony2.8 on PHP7 to a MSSQL server using ODBC connection?

Can't find anything in the net, except for some legacy stuff.

What needs to be changed / done? I know that Symfony offers odbc, can I still use doctrine as mapper when connecting through odbc?


回答1:


It is working, it already worked with the beta release



来源:https://stackoverflow.com/questions/35796495/symfony-connect-to-database-odbc-connection-on-php7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!