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

php file not working live #35

Closed
abhiinos111abhi opened this issue Oct 28, 2017 · 5 comments
Closed

php file not working live #35

abhiinos111abhi opened this issue Oct 28, 2017 · 5 comments

Comments

@abhiinos111abhi
Copy link

abhiinos111abhi commented Oct 28, 2017

every time I click php file , it starts download on windows in liveserver

https://imgur.com/stJzoBS
and also open with live server option is not coming
https://imgur.com/Vi6NsFx

@ritwickdey
Copy link
Owner

Note: live Server will not able to compile you dynamic pages, you've to use the existing server, live server will help you to reload the pages when you made any change on your code, so that you have not to reload manually browser on every changes

It needs a different extension

follow https://github.com/ritwickdey/live-server-web-extension#setup

@wendellsheh
Copy link

When i use ajax only set the ‘type: GET’ can work

@ritwickdey
Copy link
Owner

Hi @wendellsheh, sorry! What you actually meant?

@rjoydip-zz
Copy link
Collaborator

rjoydip-zz commented May 20, 2018

@abhiinos111abhi Please try with @ritwickdey 's procedure. That's the perfect solution. Thanks for reporting.

@Shyam148
Copy link

Kindly check how to enable live server on PHP file here. It is answered here
https://stackoverflow.com/questions/60678203/is-it-possible-to-use-live-server-for-php-with-autoreload-on-save/64542693#64542693

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

No branches or pull requests

5 participants