CentOS Apache、php、mysql默认安装路径
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 mysqli配置文件: /etc/my.cnf或/usr/share/mysql/my.cnf mysql数据目录在/var/lib/mysql目录下 如果采用源代码安装,一般默认安装在/usr/local/mysql目录下
相关推荐
yifangs 2020-10-13
zyyjay 2020-11-09
xuebingnan 2020-11-05
samtrue 2020-11-22
stefan0 2020-11-22
songshijiazuaa 2020-09-24
hebiwtc 2020-09-18
天步 2020-09-17
83911535 2020-11-13
whatsyourname 2020-11-13
zhouyuqi 2020-11-10
Noneyes 2020-11-10
mathchao 2020-10-28
王志龙 2020-10-28
wwwsurfphpseocom 2020-10-28
diskingchuan 2020-10-23
savorTheFlavor 2020-10-23