When deploying a PHP project, there are a few things that you need to pay special attention to, and a point that beginners are more likely to overlook:
First, after downloading the wampserver, how to install the configuration?
Second, how to manage MySQL database through client?
Third, how to access the PHP Web site through the IP address, if the local network access to the server on the PHP site?
For the 1th, note the following:
1, download Wampserver, address can find their own;
2, Installation Wampserver
3, at this time PHP, Apache, MySQL have been installed, and even can immediately access http://localhost, but also through phpMyAdmin access to MySQL database;
4, if you want to turn on pseudo-static, you need to do the following:
Load the Rewrite module:
Found in the Conf directory under httpd.conf
Copy the Code code as follows:
01.LoadModule Rewrite_module modules/mod_rewrite.so
Remove the previous comment #
Use the ". htaccess" file in any directory to change "allowoverride" to "all" (the default is "None"):
Copy the Code code as follows:
# AllowOverride Controls What directives is placed in. htaccess files.
# It can be ' all ', ' None ', or any combination of the keywords:
# Options FileInfo authconfig Limit
#
AllowOverride All
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 to manage MySQL
For the 3rd, note the following:
1. Allow IP address access (only 127.0.0.1 access is allowed by default):
In the Apache configuration file httpd.conf, find the following, comment out the deny from all line
Copy the Code code as follows:
# onlineoffline Tag-don ' t remove
Order Deny,allow
Deny from all
Allow from 127.0.0.1
http://www.bkjia.com/PHPjc/621677.html www.bkjia.com true http://www.bkjia.com/PHPjc/621677.html techarticle in the deployment of PHP projects, there are a few points needing special attention, but also beginners are more easily overlooked point: first, after downloading the wampserver, how to install the configuration? Second, how to manage through the client ...