[問題] xampp的htdocs無法寫入?
看板Web_Design作者Talenius (Harmonic Inspirations)時間14年前 (2011/06/22 12:58)推噓0(0推 0噓 2→)留言2則, 1人參與討論串1/1
使用:
mac os 10.6.7
xampp 1.7.3
用xampp 1.7.3建立好後
執行網頁的預設路徑是:Macintosh HD/Application/XAMPP/xamppfiles/htdocs
而在這htdocs資料夾裡,儲存網頁或是建立資料夾都是因為權限沒辦法建立
請問我在哪邊設定有誤,所以沒辦法在這htdocs裡建立網頁?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.116.13.187
→
06/22 14:08, , 1F
06/22 14:08, 1F
→
06/22 14:09, , 2F
06/22 14:09, 2F
執行結果如下:
ls: -al: No such file or directory
ls: HD/Application/XAMPP/xamppfiles: No such file or directory
ls: Macintosh: No such file or directory
看起來是沒有htdocs這個資料夾的存在
挺奇怪的,因為我在Finder下看到得有這個資料夾
不過我後來直接在htdocs選Get Info
並修改Sharing & Permission中admin的權限
將Read Only修改成Read & Write
這樣就解決儲存文件與建立資料夾的問題
但不知各位高手在架設網站時,是否是這樣處理?
還是有其它比較合適的做法?
謝謝
※ 編輯: Talenius 來自: 122.116.13.187 (06/22 14:59)