What for? Nginx is a great replacement of Apache with very low memory

footprint and contrary to Lighttpd, doesn’t suffer from memory leak

over time. You can then use all the memory left to unleash the power of

mysql for instance by increasing the default query cache.


Step1 安装必备软件
cd /usr/ports/database/mysql50-server && make install clean
cd /usr/lang/php5/ && make install ……