Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

请尽快升级PHP到5.2.17或5.3.5

[复制链接]
Freedown 发表于 2011-1-7 19:56:19 | 显示全部楼层 |阅读模式
具体表现为 CPU 使用率 为 100%
  1. PHP 5.3.5 and 5.2.17 Released!

  2. [06-Jan-2011]
  3. The PHP development team would like to announce the immediate availability of PHP 5.3.5 and 5.2.17.

  4. This release resolves a critical issue, reported as PHP bug #53632 and CVE-2010-4645, where conversions from string to double might cause the PHP interpreter to hang on systems using x87 FPU registers.

  5. The problem is known to only affect x86 32-bit PHP processes, regardless of whether the system hosting PHP is 32-bit or 64-bit. You can test whether your system is affected by running this script from the command line.

  6. All users of PHP are strongly advised to update to these versions immediately.
复制代码
测试脚本
  1. <?php
  2. /*
  3.   +----------------------------------------------------------------------+
  4.   | PHP Version 5                                                        |
  5.   +----------------------------------------------------------------------+
  6.   | Copyright (c) 2011 The PHP Group                                     |
  7.   +----------------------------------------------------------------------+
  8.   | This source file is subject to version 3.01 of the PHP license,      |
  9.   | that is bundled with this package in the file LICENSE, and is        |
  10.   | available through the world-wide-web at the following url:           |
  11.   | http://www.php.net/license/3_01.txt                                  |
  12.   | If you did not receive a copy of the PHP license and are unable to   |
  13.   | obtain it through the world-wide-web, please send a note to          |
  14.   | license@php.net so we can mail you a copy immediately.               |
  15.   +----------------------------------------------------------------------+
  16.   | Author: Johannes Schlueter <johannes@php.net>                        |
  17.   +----------------------------------------------------------------------+
  18. */

  19. if (PHP_SAPI != 'cli') {
  20.     die("Please run this test from CLI!\n");
  21. }

  22. ini_set('display_errors', 1);
  23. ini_set('output_buffering', 0);
  24. error_reporting(-1);
  25. if (!ini_get('safe_mode')) {
  26.     set_time_limit(1);
  27. }

  28. echo "Testing float behaviour. If this script hangs or terminates with an error ".
  29.      "message due to maximum execution time limit being reached, you should ".
  30.      "update your PHP installation asap!\n";
  31. echo "For more information refer to <http://bugs.php.net/53632>.\n";
  32. $d = (double)"2.2250738585072011e-308";
  33. echo "Your system seems to be safe.\n";
  34. ?>
复制代码
回复

使用道具 举报

popuppp 发表于 2011-1-7 20:12:55 | 显示全部楼层
回复

使用道具 举报

pxycs 发表于 2011-1-9 19:37:56 | 显示全部楼层
帮顶,本站一直属于貌似被攻击状态。请官方速度解决,已经挂了!
回复

使用道具 举报

开心一百度 发表于 2011-1-9 20:20:18 | 显示全部楼层

回复

使用道具 举报

oijk 发表于 2011-1-10 08:53:10 | 显示全部楼层
哇 好多cpu100%
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-8-26 18:01 , Processed in 0.111902 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表