Open learnme2019 opened 5 years ago
Looks like your webserver is not parsing .php
files as php files. Enabling PHP in the webserver config should fix the problem. How that is done depends on your webserver and hosting provider.
Routes can be found in routes/
folder. You can also add new route files there and then include them in app.php
.
Hi Tuupola, I was trying out composer create-project --no-interaction --stability=dev tuupola/slim-api-skeleton app. Then when I tried to run I got this output
What else settings can I run to enable it properly? Secondly where should I put the route file now in this new version because in my older version I had everything in src folder both the middleware and routes file?