我搞清楚如何使用PHP,OpenID的https://github.com/openid/php-openid在Mac OS X啓動服務器
所以我克隆我的〜/ www目錄系統上的回購 PHP中開-ID一些例子/ examples目錄,我想運行。
具體而言,我想呈現頁面php-open-id/examples/consumer/index.php,以瞭解api。
所以爲了渲染頁面,我開始使用
python -m SimpleHTTPServer 8000
在PHP開-ID/examples目錄服務器,我瀏覽到本地主機://consumer/index.php
但它dint work.It顯示一個對話框來保存該文件。任何人都可以告訴我正確的方式來呈現此PHP文件。