簡體   English   中英

帶有PHP和Mysql的Mssql 2012到Mssql遷移

[英]Mssql 2012 with PHP & Mysql to Mssql migration

我只是將數據庫從mysql遷移到mssql2012。之后,我按照以下步驟連接了mssql。

我已經在本地計算機(Windows 7 64 bit os)中安裝了Xampp。

PHP Version 5.5.11

Apache Version  Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.5.11 

單獨安裝了MSSql 2012

現在,我想用mssql 2012連接php。出現Fatal error: Call to undefined function sqlsrv_connect() .

添加了php_sql_54.ts.dll並在php.ini中啟用。 但是它說

php startup: sqlsrv: unable to initiate module module complied with module API=20100525
php complied with module API=20121212 these options need to match

然后我在Ext文件夾中添加了php_sql_55_ts.dll。

我得到的下一個錯誤:

The program can't start because MSVCP110.dll is missing from your computer. Try reinsatalling the program

從Microsoft網站安裝了C ++工具。 那么最后的錯誤是:

PHP Startup: unable to load dynamic library php_sqlsrv_55_ts.dll is not a valid win32 application.

怎么解決呢? 我需要將mssql與PHP連接。

謝謝

檢查天氣,您的操作系統是32/64位。 基於此安裝C ++。 如果您已安裝此版本,則將無法使用:

Microsoft Visual C++ Redistributable (x64)

要么

Microsoft Visual C++ Redistributable (x86)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM