课程: Level Up: PHP
Running PHP in a live server
- [Instructor] If you do decide to use Codespaces, there are a couple of things to note. All of the folders for all of the exercise files are included in the main branch. This includes begin and end states for each challenge. Once you create a new codespace, or use one of the ones that you've already created, you'll be taken inside the browser. When you are executing on a PHP file, you open it, and then you can right click inside of the code editor and choose PHP Server: Serve Project. This will create a PHP server that then executes your PHP code as you've written it. This is going to be another tab in your browser, so you can tab back to the codespace to continue editing your code.