A few things to be aware of in deploying PHP projects to share

Source: Internet
Author: User
Tags php website mysql database phpmyadmin

  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  

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.