In this post I will show you How to Run PHP code in visual studio code terminal console window and how to run php code directly in the visual studio code console terminal.
Can we run PHP code in Visual Studio Code?
How do I run a PHP script in terminal?
How do I run code in Visual Studio Code in terminal?
Follow these steps to run code PHP in Visual Studio Code, no configuration needed:
- Install the Code Runner Extension.
- Install PHP or XAMP on your computer.
- Add the PHP executable file path (C:\xampp\php\php.exe) in Code Runner JSON configuration settings.
- Also add same PHP executable path in windows environment variables.
- Open the PHP code file in VS Code Text Editor.
- Use shortcut (Ctrl + Alt + N), or right click the Text Editor and then click Run Code in editor context menu.
Full Video Tutorial!
๐๐ฒ๐, ๐๐ณ ๐ง๐ต๐ถ๐ ๐ฉ๐ถ๐ฑ๐ฒ๐ผ ๐ถ๐ ๐๐ฒ๐น๐ฝ๐ณ๐๐น ๐ณ๐ผ๐ฟ ๐ฌ๐ผ๐, ๐ฃ๐น๐ฒ๐ฎ๐๐ฒ ๐๐๐ ๐บ๐ฒ ๐ฎ ๐๐ผ๐ณ๐ณ๐ฒ๐ฒ. ๐ง๐ต๐ฎ๐ป๐ธ ๐ฌ๐ผ๐!๐
๐๐ถ๐ป๐ธ: https://www.buymeacoffee.com/hmaweb
- Read Articles!
Suggested Videos:
Complete User Registration & Login System with PHP and MySQL Database | PHP Login System
How to Create Responsive Sign Up Form with HTML5 CSS3 | How to create a signup page
Top 10 VSCODE Extensions For Web Developers | Best VSCODE Extensions 2022
How to Change Website Content in JavaScript | How to Append Text in JavaScript 2022
How to Build Vertical Tabs in HTML and CSS | Animated Vertical Tabs in HTML and JavaScript
Hoverable Responsive Dropdown HTML CSS | Hover Over Dropdown Menu HTML CSS
10 Ways How to Center a Div Vertically in Another div | CSS Align Center
Top comments (0)