Hope everything is good.
How do I create a program that will make my local app available? (I do not want my app to be available without the program/application being turned on)
For example, as localhost / “phpmyadmin”. It becomes available only after you have started MYSQL, on XAMPP for example. If you try to visit localhost / phpmyadmin WITHOUT launching Apache on XAMPP, you will receive following message:
“phpMyAdmin tried to establish a connection to the MySQL server, but the server denied the connection. Verify host, username and password in your configuration and make sure that they match the information of the MySQL server administrator.”
I have an app on my local host. (localhost / myapp) and of course it’s always available as long as XAMPP is running. But I want it to only become available when it’s turned on. Otherwise, show an error-like message.
// Qneo