Repository navigation
Laravel Vuejs project how to use Index.php instead of index.html? #3577
|
I'm very new to capacitor. Would really appreciate if someone can point me to the right direction. I am getting this error How would i configure capacitor to accept index.php? thank you |
Answered by
jcesarmobile
Sep 21, 2020
Replies: 2 comments 2 replies
|
You can't, PHP only works on a server and Capacitor can't run a PHP server inside. The only way is pointing to a remote PHP server hosting the index.php, something like this, but it's not really recommended to point to an url in production apps and it can lead to app rejections. |
2 replies
Answer selected by
stephenjason89
|
Thank you :) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can't, PHP only works on a server and Capacitor can't run a PHP server inside.
The only way is pointing to a remote PHP server hosting the index.php, something like this, but it's not really recommended to point to an url in production apps and it can lead to app rejections.