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 *