简体   繁体   English

如何在openSUSE飞跃15上安装pdo_sqlsrv php扩展

[英]How to install pdo_sqlsrv php extension on openSUSE leap 15

I have been following this guide https://docs.microsoft.com/en-us/sql/connect/php/installation-tutorial-linux-mac?view=sql-server-2017#installing-the-drivers-on-suse-12 我一直在遵循本指南https://docs.microsoft.com/zh-cn/sql/connect/php/installation-tutorial-linux-mac?view=sql-server-2017#installing-the-drivers-on- SUSE-12

and countless of google search forum results for hours with no results. 数小时之久没有结果的Google搜索论坛结果。 I have installed: 我已经安装了:

  1. PHP 7.2, PHP 7.2,
  2. Apache 2.4 阿帕奇2.4
  3. Mssql server MSSQL服务器

on my openSUSE machine. 在我的openSUSE机器上。 I am connecting to the mssql database through laravel but getting driver not found error. 我通过laravel连接到mssql数据库,但找不到驱动程序错误。 Can someone please help 有人可以帮忙吗

UPDATE: 更新:

For anyone having the same problem, Microsoft tutorial is based on openSUSE server variant. 对于有相同问题的任何人,Microsoft教程均基于openSUSE服务器变体。 I managed to fiddle around with the URL 我设法弄乱了网址

and it seems that microsoft only supports up to leap 42.3. 看来Microsoft仅支持最高42.3。

Seems like i will be installing to docker 似乎我将安装到docker

Microsoft finally released the opensuse 15 drivers and I installed them. Microsoft最终发布了opensuse 15驱动程序,然后我安装了它们。 However, I'm sticking to docker. 但是,我坚持使用docker。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM