Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8700743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:14:17+00:00 2026-06-13T02:14:17+00:00

OS: Ubuntu 12.04 64-bit PHP version: 5.4.6-2~precise+1 When I test an https page I

  • 0

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:

  • Registered Stream Socket Transports: tcp, udp, unix, udg, ssl, sslv3,
    tls
  • [curl] SSL: Yes
  • SSL Version: OpenSSL/1.0.1
  • openssl:

    OpenSSL support: enabled

    OpenSSL Library Version OpenSSL 1.0.1 14 Mar 2012

    OpenSSL Header Version OpenSSL 1.0.1 14 Mar 2012

Yes, http pages work just fine.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T02:14:18+00:00Added an answer on June 13, 2026 at 2:14 am

    See the manual section on the built-in webserver shim:
    http://php.net/manual/en/features.commandline.webserver.php

    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 stunnel wrapper:

    php -S localhost:8000 &   
    stunnel3 -d 443 -r 8080  
    

    It’s just for toying anyway.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running Ubuntu 64-bit version 11.04, with Eclipse Linux 64-bit edition. The Android SDK
(My environment is 64-bit Ubuntu, my application is C++ compiled and linked with g++.)
I'd like to ask about memory allocation in 64-bit ubuntu Linux. I have the
I'm having a problem with eclipse galileo on ubuntu 64-bit system. when ever i
I am using ubuntu 12.04 on 64 bit machine, I have this simple C
System: rails 3.2.3 1.9.2p320 ubuntu 12.04 32 bit I am trying to split up
I'm using GCC 4.3.3 on Ubuntu 9.04 64-bit and was getting errors using C++-style
Hi I have configured the DSN settings for vertica in Ubuntu 10.10 32 bit
I'm getting an error whilst trying to install psycopg2 on ubuntu 9.10 64 bit.
I've spent a fair bit of time with PHP & Python frameworks and recently

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.