localhost/project
localhost 就是自己电脑的ip地址
project创建的项目
输入localhost/project,会自动寻找project目录下的index.php文件
这是权限不够,解决办法:打开终端敲入以下信息:
1、cd /Applications/XAMPP/xamppfiles/htdocs
2、chmod -R 777 *
访问成功
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 *
本文介绍了在Mac系统中使用XAMPP运行ThinkPHP遇到403错误的问题及解决方法。该错误通常由于文件或目录权限不足导致,通过更改指定目录的权限可以有效解决问题。
1656

被折叠的 条评论
为什么被折叠?



