PHP 5.4에는 개발 웹서버가 내장되어 있습니다:
http://php.net/manual/en/features.commandline.webserver.php
문서화된 대로 서버를 시작하려고 하면 모든 것이 괜찮아 보입니다.
php -S 로컬호스트:3000
PHP 5.4.4-2 개발 서버는 2012년 12월 29일 토요일 10:56:43에 시작되었습니다.
localhost:3000에서 수신 중 문서 루트는 /var/www입니다.
종료하려면 Ctrl-C를 누르세요.
localhost:3000을 말리면 작동합니다.
하지만 Firefox 17에서는 작동하지 않습니다. 브라우저 메시지는 웹 사이트에 연결할 수 없다는 간단합니다. Firebug는 네트워크 콘솔에 "중단됨" 상태를 표시합니다.
이것이 알려진 문제입니까? 이 동작을 변경하거나 최소한 디버깅할 수 있나요?
답변1
찾았어요 :D
http://support.mozilla.org/de/questions/771916
Type about:config into the address bar
Ignore the warning
Enter network.dns.disableIPv6 into the filter box
Right-click on the entry and press on toggle (it should now say false)
Close and restart FireFox