Linux - PHP 7.0 and MSSQL (Microsoft SQL)

后端 未结 9 1072
夕颜
夕颜 2020-12-02 09:08

Yes, I know that PHP 7.0 removed the extensions needed to connect to MSSQL. FreeTDS was my option prior to PHP 7.0 but now there really is no obvious upgrade path for those

9条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-02 09:18

    Official MS extension has branch for PHP 7:

    • https://github.com/Azure/msphpsql/tree/PHP-7.0 (Windows)
    • https://github.com/Microsoft/msphpsql/tree/PHP-7.0-Linux

    There's still lot of things missing, some marked as planned (Linux support is amongst them), nevertheless it could be another solution in the future.

    EDIT (09-09-2016): There were already few Linux releases published since March, with CentOS/Ubuntu specific packages and source available. Keep in mind they aren't marked as Production Ready yet.

提交回复
热议问题