linux下查找文件locate命令

#locate filename
升级数据库locate数据库
#updatedb
 

Tags: ,
| Posted in 服务器OS | No Comments »

linux下用yum给php安装gd库

[root@localhost ~]# yum install php-gd*
Setting up Install Process
Setting up repositories
base                      100% |=========================|  951 B    00:00
update                    100% |=========================|  951 B    00:00
Read the rest of this entry »

Tags: , ,
| Posted in 服务器OS | No Comments »

MySQL中REPLACE INTO和INSERT INTO的区别

REPLACE的运行与INSERT很相似。只有一点例外,假如表中的一个旧记录与一个用于PRIMARY KEY或一个UNIQUE索引的新记录具有相同的值,则在新记录被插入之前,旧记录被删除。

Read the rest of this entry »

windows下apache2+php5+mysql5+zend Optimizer3套件推荐

1.VertrigoServ
下载:http://sourceforge.net/projects/vertrigo
2.EasyAPM-Server这个比较老,但是好用
下载:很多,baidu吧
3.Appserv
这个也很好,但是和Zend Optimizer配合不是很好,装了zend之后跑得很慢;
其他的就不怎么样了,wamp,easyphp,apmserv都一般……

这些东西在win下,唉,真是的,总是不尺如人意

还不如,IIS扩展一下呢,唉