我已經設法解決這個問題與MAMP Pro通過添加我的本地IP範圍地址到http.conf文件。
我前往(來自MAMP Pro窗口)file > Edit Template > Apache > http.conf
滾動至約399行完成此有文字
Alias /phpMyAdmin "/Library/Application Support/appsolute/MAMP PRO/phpMyAdmin"
Alias /phpmyadmin "/Library/Application Support/appsolute/MAMP PRO/phpMyAdmin"
<Directory "/Library/Application Support/appsolute/MAMP PRO/phpMyAdmin">
Options Indexes
AllowOverride None
Order deny,allow
Deny from all
Allow from localhost
Allow from 127.0.0.1
Allow from ::1
</Directory>
和編輯的,以讓我的本地IP(這是192.168.2塊。 XXX)
Alias /phpMyAdmin "/Library/Application Support/appsolute/MAMP PRO/phpMyAdmin"
Alias /phpmyadmin "/Library/Application Support/appsolute/MAMP PRO/phpMyAdmin"
<Directory "/Library/Application Support/appsolute/MAMP PRO/phpMyAdmin">
Options Indexes
AllowOverride None
Order deny,allow
Deny from all
Allow from localhost
Allow from 127.0.0.1
Allow from ::1
#Adding in new rule to allow local IPs to access, leave the last number blank to allow all in that range
Allow from 192.168.2
</Directory>
重新啓動服務器,並能夠通過輸入http://[HostComputerIP]:8888/phpMyAdmin
THX你的答案約翰從我們的網絡上的其他計算機訪問phpMyAdmin的,我們做了一個乾淨的安裝,只安裝了Mamp,現在它能正常工作。Mamp有這種奇怪的行爲,所以不可預測。 – 2010-10-22 10:59:22