K
K
Kirill Gorelov2018-10-10 21:47:19
Slim Framework
Kirill Gorelov, 2018-10-10 21:47:19

Slim, how to run?

Guys, hello, such a stupid question arose.
I installed the Slim framework according to the documentation, launched it, everything works.
But I launched it with the help of the command And how can I do it now so that I don’t write like this every time? That is, you launched a local server, accessed your local domain, and the page opened? Because if I don't, then I get a 404 page. //Installed via the slim/slim-skeleton composer.
php -S localhost:8888 -t public public/index.php

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2018-10-10
@inoise

Install Nginx or Apache2 and configure it for your project

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question