Skip to content

Commit ab48275

Browse files
Clarifies the documentation and fixes grammar.
1 parent 9e2b77b commit ab48275

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/FAQ.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
I'm new to this live-server thing. I have used it for *`.html`* pages, and it worked flawlessly! But now, when I want to use it for php pages, it downloads the .php file instead of executing it.
77

88
**Answer:**
9-
1. [The Common Misconceptions](#the-common-misconception)
9+
1. [The Common Misconception](#the-common-misconception)
1010
2. You will need to install a server on your machine or download the necessary requirements. Here is a Stackoverflow question: [PHP server on local machine?](https://stackoverflow.com/questions/1678010/php-server-on-local-machine)
1111
+ [PHP](http://php.net/downloads.php) (just the preprocessor without apache)
1212
+ [XAMPP](https://www.apachefriends.org/index.html) (cross-platform)
1313
+ [MAMP](https://www.mamp.info/en/downloads/) (mac)
1414
+ [WAMP](http://www.wampserver.com/en/) (windows)
15-
3. Visit the ***Actual Server Address***: `http://localhost:[port_number]/[workspace]`, not the VS Code extension's ***Live Server Address***: `http://127.0.0.1:5500/`
15+
3. Visit the ***Actual Server Address***: `http://localhost/[workspace]`, not the VS Code extension's ***Live Server Address***: `http://127.0.0.1:5500/`
1616

1717
<br><br><hr><br>
1818

@@ -23,7 +23,7 @@ Hi, I wonder why I have to run my own server when the vscode extension will star
2323
The two main reasons are the flexibility, and the complexity of server-side environment.
2424
For instance, in order to be able to use this add-on in all environments and not to
2525
prevent the user from a specific php verion, or running Apache with PHP.
26-
It is therefore preferable that the user can decide for yourself which environment to use.
26+
It is therefore preferable that you as a user can decide for yourself which environment to use.
2727
Another thing is that the server side is heavier than the client side because it needs a
2828
larger server environment to run- and preprocess your code in PHP, NodeJS or .NET.
2929

docs/Setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ In other words. If you just want the reload feature when working with .html file
1010

1111
<br><br>
1212

13-
# Direct Setup<sup><sub><sup>`Easy`</sup></sub></sup> | Proxy Setup<sup><sub><sup>`Advanced`</sup></sub></sup>
13+
# Direct Setup<sup><sub><sup>`Easy`</sup></sub></sup> || Proxy Setup<sup><sub><sup>`Advanced`</sup></sub></sup>
1414

1515
### Direct Setup
1616

@@ -50,7 +50,7 @@ In other words. If you just want the reload feature when working with .html file
5050
"liveServer.settings.proxy": {
5151
"enable": true, // i. enabled
5252
"baseUri": "/", // ii. workspace
53-
"proxyUri": "http://localhost:80/workspace" // iii. Actual Server Address
53+
"proxyUri": "http://localhost:80/workspace" // iii. actual address
5454
},
5555
}
5656

img/screenshots/direct-setup.png

-216 Bytes
Loading

0 commit comments

Comments
 (0)