我在ubuntu 110.10上安裝了php oauth擴展。localhost/phpinfo.php
但在谷歌瀏覽器http://localhost/phpinfo.php
它給了以下錯誤:
Server error
The website encountered an error while retrieving http://localhost/phpinfo.php. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
這意味着我給連接到本地主機,然後得到這個錯誤。
而在mozilla它是給一個空白的屏幕。
它不提供任何有關installtion的信息在php 我該如何解決這個問題?
我給的地址localhost/phpinfo.php – dipanshu 2012-07-27 06:37:05
路徑有誤 – asprin 2012-07-27 06:38:17
檢查是否 1. localhost正在工作? 2.在你的webroot中放置一些簡單的php文件(例如echo Hello),看看它是否正常工作。 – 2012-07-27 06:38:35