Home > Backend Development > PHP Tutorial > Linux下Apache PHP Mysql默认安装路径

Linux下Apache PHP Mysql默认安装路径

WBOY
Release: 2016-06-23 13:46:25
Original
1191 people have browsed it

Apache
如果采用RPM包安装,安装路径应在 /etc/httpd目录下
Apache配置文件: /etc/httpd/conf/httpd.conf
Apache模块路径: /usr/sbin/apachectl
web目录: /var/www/html


如果采用源代码安装,一般默认安装在 /usr/local/apache2目录下

 


PHP
如果采用RPM包安装,安装路径应在 /etc/目录下
php的配置文件: /etc/php.ini


如果采用源代码安装,一般默认安装在 /usr/local/lib目录下
php配置文件: /usr/local/lib/php.ini 或 /usr/local/php/etc/php.ini  

 


Mysql
如果采用RPM包安装,安装路径应在 /usr/share/mysql目录下
mysqldump文件位置: /usr/bin/mysqldump
mysql配置文件: /etc/my.cnf 或 /usr/share/mysql/my.cnf
mysql数据目录: /var/lib/mysql目录下


如果采用源代码安装,一般默认安装在 /usr/local/mysql目录下


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template