摘要:
今天早上尝试了下安装memcache,在这里记录一下 我的环境是中centos系统 安装的基本步骤是按照网上流传很广泛的文章来做的。 http://hi.baidu.com/%D6%B0%B3%A1%D0%C2%CA%D6%B9%FE%B9%FE/blog/item/1765f3d6c7763ad4a144dfda.html 这里主要说一下在安装过程中遇到的各种问题(在文章中有标注) Linux下... 阅读全文
推荐排行榜
PHP中的工厂方法模式
2011-04-10 22:54 by 轩脉刃, 1629 阅读, 收藏,
摘要:
PHP手册中的工厂方法•使用工厂来替换new操作 •思路:动态的根据传递的数据,新建相应的类的对象。 •<?phpclass Example{ // The parameterized factory method public static function factory($type) { if (include_once 'Drivers/' . $type . '.php') { $classname = 'Driver_' . $type; return new $classname; } else { throw new Exc 阅读全文
安装EPP的调试Zend Debugger
2010-11-27 23:56 by 轩脉刃, 8596 阅读, 收藏,
摘要:
最近在工作中遇到的一个问题就是PHP程序的调试,PHP的程序可以直接在页面中显示出错误信息,但是如果是较大较复杂的程序,这种方式的开发效率就极其低下了,那么如何在IDE中可以对程序进行单步调试呢?问题:如何在Wamp下单步调试PHP程序?1, 确保机子已经安装了Wamp。假设www的目标路径为:D:\PHPProject\wamp\www(其中D:\PHPProject\wamp\是wamp的根目... 阅读全文
powershell 记录
2010-10-29 13:58 by 轩脉刃, 541 阅读, 收藏,
摘要:
the following module was built either with optimizations enabled or without debug informationsolution:I have also faced the same problem on migrating the application .net 1.x to 2.0 and i solved by di... 阅读全文
浙公网安备 33010602011771号