-
Notifications
You must be signed in to change notification settings - Fork 292
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
downloaded index.php instead of load the app #509
Comments
it's seems like the htaccess issue, |
what do you mean by htaccess firest? |
I have this same issue for vanilla PHP with no build or framework. I don't know what to do again. In my case, I don't have any .htaccess file
Here is my project structure
|
@solamichealolawale Can you show me repository and public vercel URL? |
@f3l1x Can you view this? |
I was fixing other bug, now it's time for your app. :-) |
bump, bug still occurring with Laravel and PHP runtimes 0.7.0 & 0.6.1 |
fixed on my end, at vercel level I've set output directory value to |
@f3l1x any update on this? |
i have the same face |
Everything is ok. You just need to deploy it to production. |
Move all vercel.json{
"functions": {
"api/*.php": {
"runtime": "[email protected]"
}
},
"rewrites": [
{ "source": "/api/(.*)", "destination": "/api/$1" }
]
} project structure:
|
Hi, I am not facing that issue anymore. Do you guys? |
I think this happened to me when the build |
hi, i'm a total beginner and i want to deploy my laravel app on vercel. i was planning to connect it to Oracle ATP to use it as the database. but i'm totally stuck on the vercel. when i open the website, it downloaded the index.php instead of load the app.
this is how my project looks like
i already included functions and routes on my
vercel.json
like this:and i point the
/api/index.php
to my original index.php like this:but it just downloaded the
/api/index.php
instead. do anyone has any ideas what happened? and are they more informations that i could give to help?The text was updated successfully, but these errors were encountered: