简体   繁体   中英

foundation 5 (zurb) framework access forbidden on localhost xampp

i've downloaded the latest foundation 5 framework and tinkered with. i have made a simple website and saved the index with a php extension. the folder is saved in htdocs, the folder is named foundation5.

everytime i open it in the browser through localhost/foundation5. i've always welcomed with an access forbidden error 403. my other projects doesn't have errors like this.

i have tried saving it as a .html file and it worked. but with .php it doesn't work 在此处输入图片说明

i've typed this command on the terminal and it solved the problem.

chmod -R 0777 /Applications/XAMPP/xamppfiles/htdocs/foundation5

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM