How to run PHP code in Brackets ? Last Updated : 09 Mar, 2022 Comments Improve Suggest changes Like Article Like Report Brackets is a platform where HTML, CSS, JavaScript coding can be done. Editing these types of codes is very easy in Brackets. Pre-requisite for implementing PHP codes in Brackets: Install any local server in your machine like - Wamp, Xampp, or Mamp.Install Brackets. Features: It is platform-independent, which means it can be installed in any operating system.It is light in size and easily installable.It gives preprocessor support. So, it is easy to use Brackets software. Steps to Run: Note: In this case, we are using the Xampp server. Step 1: At first, browse to your C drive, then Xampp server, and "htdocs" folder. Create a folder. I have created a "Demo" folder. Note: For the Wamp server you have to browse to C drive, then Wamp server, then www folder. Create a folder. Step 2: Open your Brackets software. Open the created folder. Step 3: In the folder create a PHP file. Write some sample code there. Save that file. If you want you can copy the following code. PHP <?php echo "My first program"; ?> Step 4: Then in the right side corner, you will find the following icon. Click on this icon. It will run the code. Step 5: Your PHP code will give output. Now, you can run any other PHP code in Brackets. Comment More infoAdvertise with us Next Article How to run PHP code in Brackets ? sounetraghosal2000 Follow Improve Article Tags : PHP Geeks-Premier-League-2022 PHP-Questions Similar Reads How to Run PHP File in Chromebook? Chromebook is a new type of desktop. It is basically run in a chrome operating system. It is a kind of laptop. But it is very cheap compared to a laptop. Because of these, as it is run in web-based chrome operating system it is slow & less usable than laptops. But as it is cheap in price so, man 3 min read How to print on browser's console using PHP ? The echo command is used in PHP to print any value to the HTML document. Use <script> tag inside echo command to print to the console. Syntax: echo "This is GeeksforGeeks Tutorial."; echo variable_name; Note: The echo command will print the HTML document. This feature can be used to put JavaSc 2 min read How to create a New Line in PHP ? When working with text output in PHP, like creating a webpage, sending an email, or saving to a file, it's important to know how to add a new line. Adding a new line helps break up the text, makes it easier to read, and keeps it looking right whether it's shown in a browser, a terminal, or a file.Ho 2 min read How to show All Errors in PHP ? We can show all errors in PHP using the error_reporting() function. It sets the error_reporting directive at runtime according to the level provided. If no level is provided, it will return the current error reporting level. error_reporting(E_ALL) level represents all errors, warnings, notices, etc. 3 min read How to embed PHP code in an HTML page ? PHP is the abbreviation of Hypertext Preprocessor and earlier it was abbreviated as Personal Home Page. We can use PHP in HTML code by simply adding a PHP tag without doing any extra work. Example 1: First open the file in any editor and then write HTML code according to requirement. If we have to a 2 min read Like