PHP编译扩展出现Cannot find autoconf的解决方法
编译redis扩展是遇到Cannot find autoconf情况,以下是解决办法:
php trim 中的坑
echo ltrim("Hello World", "Hdle"); // 输出: o World
Centos6下Python2.6升级到Python2.7
Centos6系统默认安装的Python版本是2.6,但是目前好多程序支持2.7及以上版本,故这里介绍如何从2.6升级到2.7,以及过程中遇到的问题