1、 PHP 开发工具EclipsePHP直接下载安装
2、Wamp5直接下载安装,需要配置Apache访问设置:eg:D:\PHPTOOLS\WAMP5-v1.7.4\wamp\Apache2\conf\extra\httpd-vhosts.conf文件
类似:<VirtualHost *:80>
ServerName www.test.com
ServerAlias www.test.com
DocumentRoot "D:/PHPTOOLS/WAMP5-v1.7.4/wamp/www/vistingcard"
</VirtualHost>
配置D:\PHPTOOLS\WAMP5-v1.7.4\wamp\Apache2\conf\httpd.conf
<Directory "D:/PHPTOOLS/WAMP5-v1.7.4/wamp/www/test">
Options Indexes FollowSymLinks
AllowOverride all
Order Allow,Deny
Allow from all
</Directory>
3、 配置hosts本地Ip隐射
在C盘so到hosts文件 192.168.1.1 www.test.com.
4、配置Mysql远程访问
找到MySql安装目录中的my.ini文件.在里面添加上bind-address=192.168.1.11地址
可能还需要修改下user表中的host字段内容为“%”,以及Win防火墙设置例外端口3306.
完成上述操作基本可以完整配置。
部署开了。