MING
網頁
(移至...)
About Me
Blog
▼
2016年5月9日 星期一
解決在 windows 10 64bit 無法正常啟動 PHP CURL 模組的問題
解決方式:在 apache 設定檔內直接指定以下相關檔案。
例如:
LoadFile "D:\PHP\php5ts.dll"
LoadFile "D:\PHP\libeay32.dll"
LoadFile "D:\PHP\ssleay32.dll"
LoadFile "D:\PHP\libssh2.dll"
真是覺得很奇怪的一件事。因為在其它台主機內也是使用 64bit 的作業系統。但也沒有這種奇怪的狀況。反正是開發的機器就不追根究柢了。
相關資料:
解决windows x64下PHP扩展curl不可用的方法
PHP 連結 MS SQL Server 的做法
需要的 dll 檔案,依主機上所運行的 PHP 版本,到這頁來看
Drivers for PHP for SQL Server
將 php_sqlsrv_56_ts.dll、 php_pdo_sqlsrv_56_ts.dll 放入到 PHP\ext\* 內
編輯 PHP.ini 加入 extension=php_sqlsrv_56_ts.dll 與extension=php_pdo_sqlsrv_56_ts.dll
重新啟動 apache
PHP SQLSRV Functions 相關文件
e.g.
sql_num_rows
相關資料:
System Requirements (Microsoft Drivers for PHP for SQL Server)
[PHP] PHP 5.4 (for Windows)之後版本連接Microsoft SQL Server
PHP SQLSRV Functions
‹
›
首頁
查看網路版