PHP PDO sqlsrv 无法加载动态库 [英] PHP PDO sqlsrv Unable to load dynamic library

查看:48
本文介绍了PHP PDO sqlsrv 无法加载动态库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 wampserver 64 版本 2.5、php 版本 5.5.12 和我的操作系统 Windows 10

Hi I have wampserver 64 version 2.5, php version 5.5.12 and my operating system windows 10

我下载了 sqlsrv 驱动程序并将其放在目录中<代码>C:\wamp\bin\php\php5.5.12\ext

I downloaded the sqlsrv drivers and I put it here in the directory C:\wamp\bin\php\php5.5.12\ext

然后我将其粘贴到我的 php.ini 中,

and I paste this in my php.ini,

<代码>扩展名=php_pdo_sqlsrv_55_ts.dll扩展名=php_sqlsrv_55_ts.dll

php.ini 位于这里 C:\wamp\bin\php\php5.5.12

the php.ini is located here C:\wamp\bin\php\php5.5.12

当我重新启动服务时,会弹出这个错误

when I restart the services this is the error will pop up

我不知道如何解决这个问题,或者有什么我想念的地方吗?

I don't know how to fix this or is there something wrong that i miss ?

提前致谢.

推荐答案

据我所知,没有 64 位 PHP 兼容的 SQL Server 库.您必须安装 WAMPServer 32 位.这不是 WAMPServer 的限制,只是微软尚未完成 64 位 PHP 扩展.

As far as I am aware there is no 64bit PHP compatible SQL Server library. You will have to install WAMPServer 32bit. This is not a WAMPServer limitation, its just that Microsoft has not yet completed the 64 bit PHP extension.

可能他们在等待 PHP7,这是第一个真正的 64 位 PHP 版本

Probably they were waiting for PHP7 which is the first truly 64bit version of PHP

这篇关于PHP PDO sqlsrv 无法加载动态库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆