Several operating environments for PHP and WAMP installation use

Source: Internet
Author: User
Tags apache log

One, the installation of Linux three ways (commercial operations are on the Linux server)

Source package installation is relatively difficult, is the best way

RPM Package Installation This way, there may be a lot of useless also installed, which will affect the performance of the server

Integrated Software Installation (XAMPP) flexibility, version can not be selected independently, by default, all the functions are installed, but some do not use, not for commercial use

    

Second, Windows installation of two ways (business run not on Windows Server, more problems)

Single download installation

Integrated environment Installation

Third, Wamp installation and use

   Installation: Click to install--next step is all right

use: in the bin directory, MySQL, PHP, Apache These three are the most commonly used   

Php:

Mysql:

Bin directory: the command to operate MySQL is here

Data directory: Everything is stored here

My.ini: optimizing MySQL, configuring MySQL configuration Files

Apache:

Bin directory: the command to operate Apache is here.

httpd.conf file in conf directory: is the main configuration file of Apache, and the other is Apache's extension configuration file

Log files: Install all log files (Mysql,php,apache) using this integrated installation directory under logs in this integrated environment

During the development process, place the program under the WWW directory under the installation directory (you can create a new project folder under this directory)

Phpmyadmin:mysql Admin tool (user name default root password is empty)

PHP is part of Apache, launch Apache is to start PHP, modified PHP log files or modified Apache log files are to restart Apache (which configuration file to restart the appropriate server)

Several operating environments for PHP and WAMP installation use

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.