Default installation path of ApachePHPMYSQL in CentOS

Source: Internet
Author: User
Apache: If the RPM Package is used for installation, the installation path should be in the/etc/httpd Directory. apache configuration file:/etc/httpd/conf/httpd. confApache module path:/usr/sbin/apachectlweb Directory:/var/www/html

Apache:
If the RPM Package is used for installation, the installation path should be in the/etc/httpd directory.
Apache configuration file:/etc/httpd/conf/httpd. conf
Apache module path:/usr/sbin/apachectl
Web Directory:/var/www/html
If source code is used for installation, it is usually installed in the/usr/local/apache2 directory by default.

 

Php:
If the RPM Package is used for installation, the installation path should be in the/etc/directory.
Php configuration file:/etc/php. ini
If source code is used for installation, it is usually installed in the/usr/local/lib directory by default.
Php configuration file:/usr/local/lib/php. ini
OR/usr/local/php/etc/php. ini

 

Mysql:
If the RPM Package is used for installation, the installation path should be in the/usr/share/mysql directory.
Mysqldump file location:/usr/bin/mysqldump
Mysqli configuration file:
/Etc/my. cnf or/usr/share/mysql/my. cnf
The mysql data directory is in the/var/lib/mysql directory.
If source code is used for installation, it is usually installed in the/usr/local/mysql directory by default.

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.