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)