Apache, MySQL, and PHP under Ubuntu

Source: Internet
Author: User

Install basic components

From: http://www.pkphp.com/2008/08/11/ubuntu%E4%B8%8B%E5% AE %89%E8%A3%85-apachephpmysql%E6%96%87%E6%9C%AC%E6%9C%8D%E5%8A%A1%E5%99%A8%EF%BC%81/

1: sudo apt-Get Install SSH

2: sudo apt-Get install mysql-server-5.0
3: sudo apt-Get install apache2
4: sudo apt-Get install PhP5 libapache2-mod-php5
5: sudo/etc/init. d/apache2 restart
6: sudo apt-Get install phpMyAdmin
7: sudo/etc/init. d/apache2 restart (restart Apache)
8: sudo gedit/etc/PhP5/apache2/PHP. ini (configure PHP. INI)
9: sudo gedit/etc/apache2/apache2.conf (configure apache2.conf)
10:/var/www/(home directory location)

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.