Ubuntu-server Deploying PHP+MYSQL Operating environment

Source: Internet
Author: User

1.apt-get install git php5 mysql-server apache2 phpmyadmin

2.sudo ln-s/usr/share/phpmyadmin/var/www

3.

Apache2 Configuration

1. Restart the server:/etc/init.d/apache2 restart

2. Shut down the APACHE2 server:/etc/init.d/apache2 stop

3. Turn on Apache2 server:/etc/init.d/apache2 start

4. Modify the default document root directory method: (1) sudo gedit/etc/apache2/sites-enabled/000-default

(2) Locate the DocumentRoot in the document and modify the directory where you want to place the Web page file.

(3) Restart Apache server

5. Multiple people using a APACHE2 server development

You can use the Linux ln command to create a soft connection for each developer under the root directory, pointing to your own development directory.

Ubuntu-server Deploying PHP+MYSQL Operating environment

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.