This article mainly describes the deployment of PHP projects should pay attention to a few things, the need for friends can refer to the
When you deploy a PHP project, there are a few points to pay special attention to, but also easy to ignore the novice point: A, download wampserver, how to install the configuration? How to manage MySQL database via client? How to access the PHP website via IP address, if the PHP site on the server inside the LAN? for the 1th, pay attention to the following: 1, download wampserver, address can find their own; 2, installation Wampserver 3, at this time PHP, Apache, MySQL has been installed, You can even access http://localhost immediately, or through phpMyAdmin access to the MySQL database; 4, if you want to turn on pseudo static, you need to do the following: load rewrite module: In the Conf directory httpd.conf find code as follows: 01.LoadModule rewrite_module modules/mod_rewrite.so Remove the previous comment # allow the ". htaccess" file to be used in any directory and change "allowoverride" to "all" (Default is "None"): Code as follows: # AllowOverride controls what Directives may is placed in. htaccess files. # It can be ' all ', ' None ', or any combination of the ' keywords: # Options FileInfo authconfig Limit # allowoverride all &NB Sp for the 2nd, note the following: 1, through phpMyAdmin, find the User menu, modify the MySQL password (the default password is empty) 2, download navicat for MySQL management for 3rd, note the following: 1, Allow IP address access (by default only allow 127.0.0.1 Access): In the Apache configuration file httpd.conf Find the following content, the deny from the all line comment out code as follows: # OnliNeoffline Tag-don ' t remove order Deny,allow Deny to all Allow from 127.0.0.1