配置文件路径:

1>apache 的配置文件路径 /etc/apache2/apache2.conf

2>apache 网站字符编码配置路径 /etc/apache2/conf.d/charset

3>php.ini 路径 /etc/php5/apache2/php.ini

4>mysql配置文件 路径 /etc/mysql/my.cnf 一般不要使用,尤其是新手

5>phpmyadmin配置文件路径 /etc/phpmyadmin/apache.conf

6>默认网站根目录路径 /var/www

常用命令:

1.重启apache

  1. sudo /etc/init.d/apache2 restart  
  2.  
  3. sudo /etc/init.d/apache2 restart  
  4.  

2.重启mysql

    1. sudo /etc/init.d/mysql restart  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2022-01-28
  • 2021-06-21
  • 2022-12-23
  • 2022-01-28
猜你喜欢
  • 2021-12-09
  • 2021-12-19
  • 2022-12-23
  • 2021-04-21
  • 2021-12-10
  • 2021-10-05
  • 2021-10-17
相关资源
相似解决方案