localhost/project

localhost 就是自己电脑的ip地址
project创建的项目
输入localhost/project,会自动寻找project目录下的index.php文件

mac下xampp+thinkphp运行htdocs文件夹下所建项目index.php报错的解决方案

这是权限不够,解决办法:打开终端敲入以下信息:
1、cd /Applications/XAMPP/xamppfiles/htdocs
2、chmod -R 777 *

访问成功
mac下xampp+thinkphp运行htdocs文件夹下所建项目index.php报错的解决方案

mac下xampp运行thinkphp错误403解决方案

access forbidden!
You don’t have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.

这是权限不够,解决办法:打开终端敲入以下信息:
1、cd /Applications/XAMPP/xamppfiles/htdocs
2、chmod -R 777 *

相关文章:

  • 2022-12-23
  • 2022-01-07
  • 2021-09-19
  • 2022-12-23
  • 2021-11-21
  • 2021-11-07
  • 2021-04-24
  • 2022-03-11
猜你喜欢
  • 2021-07-06
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2022-01-08
  • 2021-04-12
相关资源
相似解决方案