You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
<?php
require __DIR__ . "/../app.php";
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: