读书人

筹建zend+MongoDB开发环境

发布时间: 2012-07-15 20:11:29 作者: rapoo

搭建zend+MongoDB开发环境
1.安装git 和MyGit ,并使用 生成的 ppk密钥check out 代码;
2.安装phpstudy集成开发环境,如果Apache 端口被占用80 通过Apache设置把端口改为8000;
配置Zend开发环境
1> php.ini extension=php_pdo_mysql.dll
2> apache httpd.conf
# Virtual hosts
Include conf/extra/httpd-vhosts.conf

AllowOverride All


3>httpd-vhosts.conf
<VirtualHost *:8000>

DocumentRoot "D:\WWW\etour\public"
ServerName etour.com

</VirtualHost>

4>hosts 127.0.0.1 etour.com
5>访问 http://etour.com:8000


3.配置MongoDB
1>加载dll
2>恢复文档数据


4.mysqldump 恢复 mysql数据库


读书人网 >其他数据库

热点推荐