DEV Community

HMA WebDesign
HMA WebDesign

Posted on • Updated 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)