摘要:
首先配置环境:可以参见上次随笔 nginx+php 配置我的环境为Ubuntu 10.10 nginx+php+mysql同时按照:http://blog.csdn.net/happyrabbit456/article/details/8498539 说明逐步尝试然后数据库环境,我需要使用mysql,则需要修改protected/config/main.php 将mysql需要使用的取消注释 1: 'db'=>;array( 2: 'connectionString' =>; 'mysql:host=localhost;dbname=test 阅读全文
摘要:
ubuntu 环境 10.10 安装nginx 1: sudo apt-get install nginxUbuntu安装之后的文件结构大致为: 所有的配置文件都在/etc/nginx下,并且每个虚拟主机已经安排在了/etc/nginx/sites-available下 程序文件在/usr/sbin/nginx 日志放在了/var/log/ngin... 阅读全文