/* PHP mhash 模組的安裝程序 */

《windows 下安裝程序》

1、複製 PHP4或PHP5 套件中 dlls 目錄下已編譯好的 libmhash.dll
 ‧libmhash.dll 是必須用到的外掛模組。
 ‧將libmhash.dll複製到C:\winnt\system32。
 ‧若已經設定C:\PHP為環境變數,則將libmhash.dll複製到C:\PHP。
 
2、php.ini ,取消extension=php_mhash.dll 前面的註解。
 
3、執行 info.php,就可以看到已加入mcrypt模組。

-------------------------------------------------------------------------------

《Linux 下安裝程序》

1、下載 libmhash 套件 (http://sourceforge.net/projects/mhash/)

2、安裝
 gunzipmhash-x.x.x.tar.gz
 tar -xvfmhash-x.x.x.tar
 ./configure
 make
 make install
 cd <PHP所在的目錄 >
 ./configure -with-mhash=[dir] [--other-configuration-directives]
 make
 make install   
 
3、執行 info.php,就可以看到已加入mcrypt模組。

arrow
arrow
    全站熱搜

    yoonow 發表在 痞客邦 留言(0) 人氣()