DEV Community

HMA WebDesign
HMA WebDesign

Posted on • Edited on

How to Run PHP on VSCODE | How to Run PHP Code on Chrome | PHP Code Not Running in xampp

In this post I will show you How to Run PHP on VSCODE and how to run PHP code directly in the Chrome browser. The post will provide you a detailed solution if you are facing PHP Code Not Running in xampp.

Follow these steps to Run PHP on vscode on your Chrome browser!

  1. Open your Visual Studio Code editor
  2. Install and run XAMPP localhost control pannel on your computer
  3. Go to xampp folder and create new folder and an index.php file inside "htdocs" folder
  4. Open the file inside vscode editor
  5. Open up any Web browser on your desktop and search "localhost". The browser will open a list of files stored under the "HTDocs" folder on your computer.
  6. Click on the link to a PHP file and open it to run a PHP script.

Full Video Tutorial:


𝗛𝗲𝘆, 𝗜𝗳 𝗧𝗵𝗶𝘀 𝗩𝗶𝗱𝗲𝗼 𝗶𝘀 𝗛𝗲𝗹𝗽𝗳𝘂𝗹 𝗳𝗼𝗿 𝗬𝗼𝘂, 𝗣𝗹𝗲𝗮𝘀𝗲 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗖𝗼𝗳𝗳𝗲𝗲. 𝗧𝗵𝗮𝗻𝗸 𝗬𝗼𝘂!😇
𝗟𝗶𝗻𝗸: https://www.buymeacoffee.com/hmaweb


- Read Article!

How to Run PHP Code in VSCode Terminal Console - HMA WebDesign

how to run PHP code in the visual studio code terminal console window and how to run PHP code directly in the console terminal....

favicon hmablogs.com

Top comments (0)