Remarks on LAMP in ubuntu

Source: Internet
Author: User
In Ubuntu, select LAMP to install the PHP + mysql environment and the configuration file (because the location and service names of these configuration files are different from those of FC, write them out) location and description of the mysql database/var/lib/mysql/configuration file/etc/mysql/my. location of the cnfphp configuration file/etc/php5/apache2/php. location of ini extension/etc/php5/apache2/conf. in dhttpd Ubuntu, select LAMP to install the PHP + mysql environment, and specify the location and description of the configuration file (because the location and service name of these configuration files are different from those of FC ).

Mysql database location/var/lib/mysql/

Configuration file/etc/mysql/my. cnf

Php configuration file location/etc/php5/apache2/php. ini

Extension location/etc/php5/apache2/conf. d

Httpd configuration file master/etc/apache2/apache2.conf

Configuration file/etc/apache2/sites-enabled/

Root directory DocumentRoot/var/www/

These can be obtained by reading the corresponding files. In fact, we don't need to care about this. After installation, We Can Do development. We need to directly apt-get install for any extensions.

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.