PHP 5.3.8 已经发布!

这个版本主要是为了修复 5.3.7 出现的一点问题 。以下为官方引用: 

The PHP development team would like to announce the immediate availability of PHP 5.3.8. This release fixes two issues introduced in the PHP 5.3.7 release:

  • Fixed bug #55439(crypt() returns only the salt for MD5)
  • Reverted a change in timeout handling restoring PHP 5.3.6 behavior, which caused mysqlnd SSL connections to hang (Bug #55283).

All PHP users should note that the PHP 5.2 series is NOT supported anymore. All users are strongly encouraged to upgrade to PHP 5.3.8.

For a full list of changes in PHP 5.3.8, see the ChangeLog. For source downloads please visit our downloads page, Windows binaries can be found on windows.php.net/download/.

For more details on the crypt() blowfish security issue in pre 5.3.6 see the crypt blowfish page

Posted in PHP官方消息 | Leave a comment

PHP 5.3.7 更新提示

官方新闻八月二十二日消息:刚放出的PHP 5.3.7 有BUG(https://bugs.php.net/bug.php?id=55439),不得不在后面几天升级到 5.3.8 。

以下引用官方消息:

 Due to unfortunate issues with 5.3.7 (see bug#55439) users should wait with upgrading until 5.3.8 will be released (expected in few days).

Posted in PHP官方消息 | Leave a comment

PHP 5.3.7 已经发布!

PHP官方新闻显示,PHP 5.3.7 于八月十八日已经发布!PHP 5.3.7的升级主要是为了提升PHP 5.3系列的稳定性,修复了一些BUG,其中包括与安全相关的问题。

下面是官方引文(http://www.php.net/archive/2011.php#id2011-08-18-1): 

The PHP development team would like to announce the immediate availability of PHP 5.3.7. This release focuses on improving the stability of the PHP 5.3.x branch with over 90 bug fixes, some of which are security related.

Security Enhancements and Fixes in PHP 5.3.7:

  • Updated crypt_blowfish to 1.2. (CVE-2011-2483) (more info)
  • Fixed crash in error_log(). Reported by Mateusz Kocielski
  • Fixed buffer overflow on overlog salt in crypt().
  • Fixed bug #54939 (File path injection vulnerability in RFC1867 File upload filename). Reported by Krzysztof Kotowicz. (CVE-2011-2202)
  • Fixed stack buffer overflow in socket_connect(). (CVE-2011-1938)
  • Fixed bug #54238 (use-after-free in substr_replace()). (CVE-2011-1148)

Key enhancements in PHP 5.3.7 include:

  • Upgraded bundled Sqlite3 to version 3.7.7.1
  • Upgraded bundled PCRE to version 8.12
  • Fixed bug #54910 (Crash when calling call_user_func with unknown function name)
  • Fixed bug #54585 (track_errors causes segfault)
  • Fixed bug #54262 (Crash when assigning value to a dimension in a non-array)
  • Fixed a crash inside dtor for error handling
  • Fixed bug #55339 (Segfault with allow_call_time_pass_reference = Off)
  • Fixed bug #54935 php_win_err can lead to crash
  • Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption)
  • Fixed bug #54305 (Crash in gc_remove_zval_from_buffer)
  • Fixed bug #54580 (get_browser() segmentation fault when browscap ini directive is set through php_admin_value)
  • Fixed bug #54529 (SAPI crashes on apache_config.c:197)
  • Fixed bug #54283 (new DatePeriod(NULL) causes crash).
  • Fixed bug #54269 (Short exception message buffer causes crash)
  • Fixed Bug #54221 (mysqli::get_warnings segfault when used in multi queries)
  • Fixed bug #54395 (Phar::mount() crashes when calling with wrong parameters)
  • Fixed bug #54384 (Dual iterators, GlobIterator, SplFileObject and SplTempFileObject crash when user-space classes don’t call the parent constructor)
  • Fixed bug #54292 (Wrong parameter causes crash in SplFileObject::__construct())
  • Fixed bug #54291 (Crash iterating DirectoryIterator for dir name starting with \0)
  • Fixed bug #54281 (Crash in non-initialized RecursiveIteratorIterator)
  • Fixed bug #54623 (Segfault when writing to a persistent socket after closing a copy of the socket)
  • Fixed bug #54681 (addGlob() crashes on invalid flags)
  • Over 80 other bug fixes.

Windows users: please mind that we do no longer provide builds created with Visual Studio C++ 6. It is impossible to maintain a high quality and safe build of PHP for Windows using this unmaintained compiler.

For Apache SAPIs (php5_apache2_2.dll), be sure that you use a Visual Studio C++ 9 version of Apache. We recommend the Apache builds as provided by ApacheLounge. For any other SAPI (CLI, FastCGI via mod_fcgi, FastCGI with IIS or other FastCGI capable server), everything works as before. Third party extension providers must rebuild their extensions to make them compatible and loadable with the Visual Studio C++9 builds that we now provide.

All PHP users should note that the PHP 5.2 series is NOT supported anymore. All users are strongly encouraged to upgrade to PHP 5.3.7.

For a full list of changes in PHP 5.3.7, see the ChangeLog. For source downloads please visit our downloads page, Windows binaries can be found on windows.php.net/download/.

Posted in PHP官方消息 | Leave a comment

PHP 5.4 alpha1 已经发布

PHP官方消息:PHP 5.4 alpha1 已经发布了。以下引用自官方:

The PHP development team is proud to announce the first PHP 5.4 alpha release. PHP 5.4 includes new language features and removes several legacy (deprecated) behaviors. Read the NEWS file for a complete list of changes.

THIS IS A DEVELOPMENT PREVIEW – DO NOT USE IT IN PRODUCTION!

This alpha release exists to encourage users to identify bugs, and to ensure that all new features and backward compatibility breaks are evaluated and documented before PHP 5.4.0 is released. Please report findings to the QA mailing list and/or the PHP bug tracker. Windows binaries can be downloaded from the Windows QA site.

Here is an incomplete list of changes:

  • Added: Traits language construct
  • Added: Array dereferencing support
  • Added: DTrace support
  • Improved: Improved Zend Engine memory usage and performance
  • Moved: ext/sqlite moved to pecl (sqlite3 support is still built-in)

Please note that some legacy features have been removed, including:

  • Removed: break/continue $var syntax
  • Removed: register_globals, allow_call_time_pass_reference, and register_long_arrays ini options
  • Removed: session_is_regisitered(), session_registered(), and session_unregister()

This is the first release that adopts the releaseprocess RFC. The next alpha will be released within four weeks. The PHP 5.4 feature set and API has not been finalized.

Posted in PHP官方消息 | Tagged | Leave a comment

PHP 中文维基使用互动维基开源程序

由于主机服务商硬件升级,导致MySQL出现问题,之前PHP中文维基的MediaWiki损坏无法修复。

被迫更换国内知名维基百科互动维基的开源程序:http://wiki.php.net.cn,欢迎测试~

Posted in PHP中文博客 | Tagged , , | Leave a comment

PHP中文迁移到国内了

PHP中文站(www.php.net.cn)以及PHP中文维基(wiki.php.net.cn)、PHP中文社区(bbs.php.net.cn)已经全部迁移到国内服务器上了。

在此感谢之前免费提供虚拟主机赞助的瑞豪开源VPS(rashost.com),瑞豪开源是国内优秀的VPS提供商,如果您也正在找一款稳定,高速的美国VPS,瑞豪开源绝对是不二的选择!

Posted in PHP中文博客 | Tagged , | Leave a comment

这只是一个 PHP 中文网站

PHP是一种特别合适于Web开发和可被嵌入在HTML中的被广泛应用的脚本语言。如果你才刚刚开始接触PHP,并想了解一些关于PHP是如何运作的知识,可以点击这里(英文)看看。在这之后,您也可以在线阅读PHP手册,另外,我们还有收藏许多相关PHP好料网站供您参看。

了解一下PHP有多热门? 或许可以看一看 Netcraft 的调查(英文)。

PHP有以下特性(来自于百度百科):

  • 开放的源代码
  • PHP是免费的
  • 跨平台性强
  • 效率高
  • 图像处理
  • 面向对像
  • 专业专注

更深入的了解 您可以访问:

Posted in PHP中文博客 | Tagged , , | Leave a comment