Tag Archives: PHP

Upgrade your PHP to 5.3

To ppl who is suffering random crashes of PHP 5.2.6. There’re several vulnerabilities and suhosin may end your php process. just one example (search others by yourself): http://packetstormsecurity.nl/0904-advisories/USN-761-2.txt Migration guide: http://www.php.net/manual/en/migration53.php

Posted in Default | Tagged | Leave a comment

Effective PHP Develop Environment Part.1

Most PHP newbies will ask such a question: Is there any IDE for PHP like Visual Studio for C++/C# or Eclipse for Java ? Zend Studio ( Commercial ) is Zend Corp’s solution, and someone may like PHPEclipse (Free, based on Eclipse) … Continue reading

Posted in Default | Tagged , | 2 Comments

Zend Framework前瞻(二):0.2.0的新变化

本文内容已经不能适应当前 Zend Framework 版本(0.9+),请参阅更新的文章。20070407 0.2.0增加了以下内容 Zend_Cache以文件,sqlite数据库或memcache为后端,通过ID和tag来标示数据,可以设定过期期限(以秒为单位),可以自动序列化(因此可以缓存任何数据)。Zend_Cache类本身是一个工厂类,可以定制cache内容(前端)为Output,File,Function 和 Class。不过,你可以用Zend_Cache_Core作为统一的访问方式。以下是一个官方手册的例子require_once ‘Zend/Cache.php’;$frontendOptions = array( ‘lifeTime’ => 7200,           // cache lifetime of 2 hours           ‘automaticSerialization’ => true);$backendOptions = array( ‘cacheDir’ => ‘./tmp/’    // Directory where to put the cache files);    // getting a Zend_Cache_Core … Continue reading

Posted in Default | Tagged , | Leave a comment

PHP 5.2.0

比较重要的改进: 增加 RFC1867 文件上传进度的 hookJSON 和 ZIP 模块,前者默认启用Windows版本支持 Apache 2.2 modPDO,PCRE,libsqlite,libmysql,openssl等更新与改进 最期待就是文件上传进度的 tracking 了终于official了……

Posted in Default | Tagged | Leave a comment