©
本文檔使用 php中文網手册 發布
这些扩展已经被移动至 PECL 并且不再是 PHP 发布的一部分. 这些扩展的 PECL 包版本将根据用户需求创建.
[#1] Anonymous [2015-04-15 16:05:55]
As mentioned mssql was discontinued. Summing that MDB2 doesn't support sqlsrv driver means that you are screwed if your codebase depends on MDB2 + mssql.
[#2] keith [2010-10-27 12:39:55]
Hash does NOT fully implement mhash. Notably Joomla has 2 lines in helper.php that use an unsupported function: mhash_keygen_s2k(,,,).
Other functions of mhash can be rewritten:
<?php
echo bin2hex(mhash(MHASH_RIPEMD160 ,"my_password"));
echo hash("ripemd160" ,"my_password");
?>
[#3] schwilch at gmx dot de [2010-06-16 05:39:32]
MSsqlserverDriver does not support mssql-functions but sqlsrv-functions.
If you do not want to change all of your php-scripts for using other functions and another function-handling of db-connection-parameters you should use freeTDS for Windows (download for example at moodle.org) and php_dblib.dll.
I hope this helps others with MS-Systems.
[#4] Cam [2009-08-28 08:57:25]
The MSSQL extension is no longer present in the 5.3.0 release, but this fact is not mentioned on this page. Perhaps that should be added.
It seems that the recommended solution is to use "SQL Server Driver for PHP" by Microsoft (http://www.microsoft.com/sqlserver/2005/en/us/php-driver.aspx). However, it is reported that the current release (v1.0) does not support PHP 5.3.0 (see http://forums.iis.net/t/1158918.aspx). Apparently, v1.1 will support PHP 5.3, but it is currently in CTP release.