OS: Ubuntu 12.04 64-bit
PHP version: 5.4.6-2~precise+1
When I test an https page I am writing through the built-in webserver (php5 -S localhost:8000), Firefox (16.0.1) says "Problem loading: The connection was interrupted", while the terminal tells me "::1:37026 Invalid request (Unsupported SSL request)".
phpinfo() tells me:
See the manual section on the built-in webserver shim:
It doesn't support SSL encryption. It's for plain HTTP requests. The
openssl extension and function support is unrelated. It does not accept requests or send responses over the stream wrappers.
If you want SSL to run over it, try a
php -S localhost:8000 & stunnel3 -d 443 -r 8080
It's just for toying anyway.