轉自http://blog.csdn.net/hong0220/article/details/40262729 ,轉載方便以後查看。
今天搭建wamp集成環境,本來已經搭建好了,但是在訪問localhost時出現了You don't have permission to access/on this server的提示,自己沒有解決,在查看了http://blog.csdn. net/hong0220/article/details/40262729 之後修改成功。方法如下:
這裡改成:
還有一處將下面
將Deny from all 改為:Allow from all ,然後重新啟動所有服務。
現在打開localhost或127.0.0.1時發現可以訪問了,但訪問phpmyadmin時候,出現“You don't have permission to access /phpmyadmin/ on this server.”的提示。
C:wampaliasphpmyadmin.conf //這個就是你的wamp的安裝目錄下的內容,用記事本打開
修改成這樣:
修改保存後,重啟wamp ,搞定收工!
以上就介紹了wamp出現You don’t have permission to access/on this server提示(轉),包括了方面的內容,希望對PHP教程有興趣的朋友有所幫助。