-
Notifications
You must be signed in to change notification settings - Fork 357
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
Open PHP Page and Get Error #8
Comments
The error is Where your PHP code is running (I mean, at which port) ? |
Do you mean the liveServer setting in my VSCode? |
No! No! Not Live Server, forget about Live Server. If you don't have live server, what you'll do to test the PHP code ? (May be you'll start XAMPP or IIS or through CLI). |
Oh! I know what you mean. I don't use other sever. I thought Live Server could replace IIS Express. So I didn't run any server. |
Sorry! "Live Server Web Extension" for live reload, not serving the page. I know the documentation is not clear - I apologized for it. You need 2 server, one that will server your page. Another for live reload |
Ok, thank you for your reply. |
Run the php code through IIS Express or something like that. (Assuming the port in live server config: "liveServer.settings.CustomBrowser": "chrome",
"liveServer.settings.port": 8800,
"liveServer.settings.proxy": {
"enable": true,
"baseUri": "/",
"proxyUri": "http://127.0.0.1:3000"
}, Now use the |
I use this extension to open a php web.
my setting is:
and after starting, the browser display:
If I setting it wrong?
The text was updated successfully, but these errors were encountered: