略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 被移除的扩展

2024-04-25

被移除的扩展

这些扩展已经被移动至 PECL 并且不再是 PHP 发布的一部分. 这些扩展的 PECL 包版本将根据用户需求创建.

  • dbase - 不再被保持
  • fbsql - 不再被保持
  • fdf - 被保持
  • ming - 被保持
  • msql - 不再被保持
  • ncurses - 被保存
  • sybase - 停用; 使用 sybase_ct 扩展代替.
  • mhash - 停用; 使用 hash 扩展代替. hash 全兼容 mhash; 全部使用旧函数的应用程序仍将可以工作.
add a note add a note

User Contributed Notes 4 notes

up
3
Cam
9 years ago
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.
up
0
Anonymous
4 years ago
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.
up
0
keith
8 years ago
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");
?>
up
0
schwilch at gmx dot de
8 years ago
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.

官方地址:https://www.php.net/manual/en/migration53.removed-extensions.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3