Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version not working after installation ? #53

Open
learnme2019 opened this issue Jul 25, 2019 · 1 comment
Open

New version not working after installation ? #53

learnme2019 opened this issue Jul 25, 2019 · 1 comment

Comments

@learnme2019
Copy link

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?

@tuupola
Copy link
Owner

tuupola commented Jul 26, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants