Phpstudy is a local debugging environment that integrates the latest apache+php+mysql+phpmyadmin+zendoptimizer.
The latest version:phpstudy Simplified Chinese version of the 2011 final version of this to pchome download
1, installation
Installation is very simple, do not repeat it;
2, configure the virtual host
left Click on the small icon in the Tray, the pop-up menu bar select "Site Management", will jump out of a dialog box. Depending on the prompts in the dialog box, first copy the configuration example above to the input box below, then modify the content and click Save.
3, restart Apache, set to complete.
Of course, through the domain name access also need to bind the domain name to the server IP, but since it is a local test, then only need to modify the local hosts on the line.
For example, the domain name that you just configured for the virtual host is: www.hjwsky.com, then use Notepad to open the C:\Windows\System32\drivers\etc\hosts, and then change one line to enter 127.0.0.1 Www.hjwsky.com, remember that there is a space between the IP address and the domain name. PS: In this way, even if you use www.baidu.com as your test domain can also be, but since it is a local environment, others can not access to your site through domain name, only you can access the local.
4, at this point, you should be able to access your Web site through the browser. However, to support pseudo static, you need to do some configuration.
Still is left-click Phpstudy tray icon, select "Profile" → "httpd-conf", Notepad will automatically open the file. Then ctrl+f Open the Find dialog box, enter AllowOverride, you will find after the default is None, change it to all, should be more than one, modify two on it, one of your site directory, such as mine is D:\wwwroot
5, restart Apache again, now in your site to join. Htacess Rewrite rules file, you can successfully pseudo static.