Configure apache+mysql+php

Source: Internet
Author: User
Tags install php php mysql php mysql extension

The following operations are under the Debian 6.0 64bit Environment Root authority, if the prompt permission to switch to the root user or sudo, I prefer to install themselves, because the installation process to minimize the installation and to know what is installed, You can then extend the functionality to your needs.

1. Installation of Chkconfig,chkconfig is a tool developed by Red Hat to check the setting up of system services. You can use it to set some boot up. Other commands and instructions

Apt-get Install Chkconfig

2. Install Apache:

Apt-get Install Apache2

Chkconfig apache2 on Settings Apache2 boot up

or install Apache1

Apt-get Install Apache

For basic configuration files and knowledge, we recommend that you read them. Please click

3, install MySQL, of course, you can also install according to the requirements of the version, in Debian directly enter the following statement installed is installed last version, that is, the latest version.

Apt-get Install Mysql-server

Chkconfig mysql-server on set MySQL boot up

4. Install PHP:

Apt-get Install PHP5

Install another version to replace the later version number

5, install the PHP MySQL extension, about the other components are recommended when you need to enter the installation, so as to clearly know the functions of these components

Apt-get Install Php5-mysql

Configure apache+mysql+php

Related Article

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.