psetarn
2006-11-05, 12:43 PM
請問好心的Linux大俠們:
我要用ODBC連到一台MS-SQL
爬了些文找到要安裝freetds.
我安裝freetds, 有個步驟不會做, 它說:
you'll need configure your PHP server adding this new option to the usual ones:
--with-mssql=/usr/local/
應該是指phpinfo() 裡的Configure Command那一長串要加入上面那一列.
爬了一些文, 我想應該是要去下載PHP的Sorce自行編譯, 我已經下載了PHP的Source, 但有些問題不懂:
1. 如果已經安裝了PHP的Server, 要 configure,make,make install前, 要先移除目前的PHP嗎? 還是直接configure,make,make install就好, 要怎麼做?
2.如果是未安裝PHP 的Server , 要 configure,make,make install, configure 時要加上哪些參數, 因為裝了PHP的Configure Command有很多, 在不裝前怎知哪些是必要的?
謝謝好心大大的解惑!
贊助商連結
我要用ODBC連到一台MS-SQL
爬了些文找到要安裝freetds.
我安裝freetds, 有個步驟不會做, 它說:
you'll need configure your PHP server adding this new option to the usual ones:
--with-mssql=/usr/local/
應該是指phpinfo() 裡的Configure Command那一長串要加入上面那一列.
爬了一些文, 我想應該是要去下載PHP的Sorce自行編譯, 我已經下載了PHP的Source, 但有些問題不懂:
1. 如果已經安裝了PHP的Server, 要 configure,make,make install前, 要先移除目前的PHP嗎? 還是直接configure,make,make install就好, 要怎麼做?
2.如果是未安裝PHP 的Server , 要 configure,make,make install, configure 時要加上哪些參數, 因為裝了PHP的Configure Command有很多, 在不裝前怎知哪些是必要的?
謝謝好心大大的解惑!
贊助商連結