I’m trying to open my slim application via HTTPS. How do you achieve this?
By default, you have to start each individual slim application manually with:
php -S localhost: 8080 -t public public/index.php
This command starts the PHP built-in server, but only with HTTP.
I know that PHP built-in server does not support SSL.
I use Apache (XAMPP) in my local development environment and this solutions works quite good. The problem is, I have 10+ projects and don’t want to maintain so many HTTP+HTTPS ports.
How do you handle many sites with the Slim framework and how to handle it with SSL?