My question is about i finshed creating my api with laravel/lumen but when i finshed uploading the project to server and try to access the routes, it is downloading the index file. What is the problem
Asked
Active
Viewed 213 times
0
-
You download the plain source code if the public/index.php file? Looks like php is not installed/configured. – Roland Starke Nov 12 '19 at 08:44
-
nginx or apche?? – albus_severus Nov 12 '19 at 08:46
-
Your web server is not correctly configured to execute PHP files. – Jerodev Nov 12 '19 at 08:47
-
Are you using [Apache](https://stackoverflow.com/questions/18422140/apache-is-downloading-php-files-instead-of-displaying-them) or [nginx](https://stackoverflow.com/questions/25591040/nginx-serves-php-files-as-downloads-instead-of-executing-them)? – Don't Panic Nov 12 '19 at 10:31