php5.2.14安装后的加速和安全 已放出

摘录:

Php5.2.14 安装后的加速和安全
注意事项:
本文档版权属于techlife.com.cn网站,以及所有人Mr.Xu,如果转载,请移步
https://techlife.com.cn/yijian.php发送申请,并请保留此版权信息。

 下文所述适用于RHEL、CENTOS、FREEBSD环境,其他未做测试。

一、加速
eAccelerator已经是很常用的PHP平台预编译加速的手段了,加速方面我们就采用这个软件
获得源代码:
https://bart.eaccelerator.net/source/

编译:需要有autoconf支持,解包后在源程序目录下:

 /usr/local/php/bin/phpize

 ./configure –enable-eaccelerator=shared –with-php-config=/usr/local/php/bin/php-config

 make;make install

[置顶]文档区开通啦!!

顾名思义,就是文档,无他,在这些日子发现BLOG有个缺点就是大文档阅读的不连贯性,所以打算把文档整理为PDF格式,发布在文档区,BLOG中会做相应介绍!还有就是其他兄弟姐妹们有好的文档希望让大家看到的也可以在主页上的意见和建议中告诉我,我会给你开通相应通道的,为开源多做贡献。

php升级5.2.14,这是5.2的最后一版了

Security Enhancements and Fixes in PHP 5.2.14:

  • Rewrote var_export() to use smart_str rather than output buffering, prevents data disclosure if a fatal error occurs.
  • Fixed a possible interruption array leak in strrchr().(CVE-2010-2484)
  • Fixed a possible interruption array leak in strchr(), strstr(), substr(), chunk_split(), strtok(), addcslashes(), str_repeat(), trim().
  • Fixed a possible memory corruption in substr_replace().
  • Fixed SplObjectStorage unserialization problems (CVE-2010-2225).
  • Fixed a possible stack exaustion inside fnmatch().
  • Fixed a NULL pointer dereference when processing invalid XML-RPC requests (Fixes CVE-2010-0397, bug #51288).
  • Fixed handling of session variable serialization on certain prefix characters.
  • Fixed a possible arbitrary memory access inside sqlite extension. Reported by Mateusz Kocielski.

Key enhancements in PHP 5.2.14 include:

  • Upgraded bundled PCRE to version 8.02.
  • Updated timezone database to version 2010.5.
  • Fixed bug #52238 (Crash when an Exception occured in iterator_to_array).
  • Fixed bug #52237 (Crash when passing the reference of the property of a non-object).
  • Fixed bug #52041 (Memory leak when writing on uninitialized variable returned from function).
  • Fixed bug #51822 (Segfault with strange __destruct() for static class variables).
  • Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues).
  • Fixed bug #49267 (Linking fails for iconv on MacOS: “Undefined symbols: _libiconv”).

To prepare for upgrading to PHP 5.3, now that PHP 5.2’s support ended, a migration guide available on https://php.net/migration53, details the changes between PHP 5.2 and PHP 5.3.

nginx版本更新到0.8.50

Changes with nginx 0.8.50                                        02 Sep 2010

    *) Feature: the "secure_link", "secure_link_md5", and
       "secure_link_expires" directives of the ngx_http_secure_link_module.

    *) Feature: the -q switch.
       Thanks to Gena Makhomed.

    *) Bugfix: worker processes may got caught in an endless loop during
       reconfiguration, if a caching was used; the bug had appeared in
       0.8.48.

    *) Bugfix: in the "gzip_disable" directive.
       Thanks to Derrick Petzold.

    *) Bugfix: nginx/Windows could not send stop, quit, reopen, and reload
       signals to a process run in other session.

Mr.zhang翻墙软件,已放到软件区

首页是https://crossthewall.net/index.htm(已经被和谐了)据说已经出了0.09版本了,我包里是0.06、0.08和好不容易找到的0.09版本,大家先试试吧,官方只放出了0.06和0.08两个版本

演示 google

来自官方的介绍:

《西厢记》之张生,于普救寺偶遇佳人崔莺莺,两人因吟诗而生情。 张生因急于相见莺莺,曾于月下翻墙入园。后虽经百转曲折,有情人终成眷属。 今天之互联网,并非信手拈来俱鲜花,处处沃土皆营养。然而,不入园中,怎知园中春色如许。 这一切,取决于你迈出第一步,Cross The Wall
Ver: Mr.Zhang 0.08 for Windows (update 2010.6.24) Biz: Mr.ZhangBiz 0.06 for Windows (update 2010.8.16)

网线折腾了我两天

我的电脑一直很正常,在某一次重启后突然出现了如下故障
网络连接 一会断一会正常
找了一个CISCO老手,帮我仔细会诊了一会,非常自信的告诉我,是网卡的问题,把设备设置成全双工,设置了后,居然好了,晕,当时想,这小子还有两把刷子,后来的事就是浏览网页啥的都没啥问题,可下载东西的时候那个慢啊!!比原来的速度能差老鼻子了,一直以为是内网加了流量控制导致的,没怎么在意。

今天,这电脑又罢工了,毫无征兆的罢工了,网络连接正常,PING 本地和网关IP都通,DNS解析正常,就是看不了网页,我就晕啊,正常点的都认为这系统被干了,但我其实心理早就谋划另外一件事,就是网线!!果然换了这个糟巴网线一切貌似又正常了,就是可怜的下载还是慢,为了广大网友福音,我撇下老脸,弄了一个公网IP,换完了后还TM慢,突然想起之前改全双工的问题了,把全双工改回自动,OK了,速度瞬间到了10M/s。

我记录在这里主要是为了感谢那根网线的八辈祖宗。这根网线已经被我绞首了,愿它在天堂幸福!!