the way of restart:

  sudo /opt/lampp/lampp restart

config root:

  /opt/lampp/etc/httpd.conf

  /opt/lampp/etc/httpd-xampp.conf

  in each file we should change the deny config to allow

and one more thing is to change the rights of htdocs directory, with the order below:

  sudo chmod a+w -R /opt/lampp/htdocs  #change the rights of htdocs directory

  sudo ln -sf /opt/lampp/htdocs/ ~/Public/  #create a link of htdocs for convience

reference pages:

  http://haobinnan.blog.51cto.com/775253/750435

  http://ifalone.me/569.html

  http://blog.163.com/yuanzhf_2012/blog/static/2112011482012842515448/

相关文章:

  • 2021-06-29
  • 2022-01-01
  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2021-07-12
  • 2021-09-28
猜你喜欢
  • 2022-02-21
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
相关资源
相似解决方案