Several _php tutorials to be aware of when deploying PHP projects

Source: Internet
Author: User
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

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"):

# 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

#   Onlineoffline Tag-don ' t remove    Order Deny,allow Deny from all to from    127.0.0.1
Then find the last line of # include "d:/wamp/alias/*" to comment.


http://www.bkjia.com/PHPjc/621620.html www.bkjia.com true http://www.bkjia.com/PHPjc/621620.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 ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.