Debug -> Reload Without Extensions?For more information on how to write a good bug report read here
For more information on how to contribute read here
[Description of the bug or feature]
Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Please include the OS and what version of the OS you're running.
Please include the version of Brackets. You can find it under Help -> About Brackets (Windows and Linux) or Brackets -> About Brackets (macOS)
When I open Brackets I'm receiving an error saying I need to install php7 runtime. How do I install php runtime?
You need PHP7 runtime only if you work with PHP files and want to enable PHP specific features.
Go through this: https://github.com/adobe/brackets/issues/14783 or PHP Support in Brackets to understand how to setup PHP in Brackets.
you need to download PHP runtime from net. Wait, I have a video on that. Just go to youtube and type PHP runtime error . click on the the video from the creator askvaibhav. it's very accurate and i fixed that error while watching that video.
I do not have PHP installed on my PC. I'm using a third party server to run my files.
If it's not showing any error it's ok..else download php runtime and then follow the steps followed in this video. This video also shows how to download php runtime.
https://youtu.be/P30t9gK4ZKQ
You need PHP only if you want PHP related tooling features.
Go toDebug -> Open Preferences File
In brackets.json, add entry
"php": {
"enablePhpTooling": false
}
This should disable the warning, if you don't want PHP related tooling features.
If it's not showing any error it's ok..else download php runtime and then follow the steps followed in this video. This video also shows how to download php runtime.
https://youtu.be/P30t9gK4ZKQ
shubhsnov, when I addyour code I'm receiving a new error, "Your preference file is not valid JASON"
"php": {
"enablePhpTooling": false
}
pakaymc why not you try what i am saying.
See this and do the same ( follow the steps)
https://youtu.be/P30t9gK4ZKQ
Vaibhav227 This did not work.
shubhsnov This code did work. I needed to add a comma after the }
Thank you for the help.
pakaymc you didn't followed the steps properly.
You missed something i think.
I addyour code I'm receiving a new error, "Your pr
Same problem here, tried different approaches but same error all the time. I do not want PHP features, so do not want to install PHP. The error message still there...
@sorburu Make sure the JSON is valid.
Use a JSON validator like this one https://jsonlint.com/
for example if your JSON currently ends somethings like this
"key1" : {
"subkey" : "value1"
},
"key2" : "value2"
}
then it will become
"key1" : {
"subkey" : "value1"
},
"key2" : "value2", //add comma
"php": {
"enablePhpTooling": false //this will disable php features
} //add just befofe last brace
}
Try this method
https://www.youtube.com/watch?v=HoIkCeuBUng&t=1s
Steps:
pakaymc why not you try what i am saying.
See this and do the same ( follow the steps)
https://youtu.be/P30t9gK4ZKQ
This answer works! Thank you!!!
So, you found this page because you keep getting the PHP7 Runtime Error or You are now getting an Encountered Runtime Error Code 1 when running the PHP Process.
Well, after hours of work on this, finally I figured out the issue.
For me, I kept trying to use the wrong Versions, The latest PHP version does not work with Release 1.14 of Brackets.
The one I did get to work was version 7.3.15 (Non Thread Safe) x64 Version.
Here is a Download Link from the PHP site:
https://windows.php.net/downloads/releases/php-7.3.15-nts-Win32-VC15-x64.zip
PHP Downloads Page (If you want to try something else):
https://windows.php.net/download
The ONLY reason you may need to do that is so many application can find it and you can just run it from anywhere without knowing the absolute path, and if you did need it there, you would have it there already!
Is to either follow the directions from the Wiki Here:
https://github.com/adobe/brackets/wiki/PHP-Support-in-Brackets
BUT they can be a bit confusing and has more to it than there needs to be, since you can not have comments in the json.
So here is a quick rundown:

}" add a comma (,) after the last entry
"php": {"executablePath": "C:\\path\\to\\php.exe"}"php": {"executablePath": "E:\\Servers\\php-7.3.15-nts-Win32-VC15-x64\\php.exe"}
I hope this helps someone that could not figure out why they can not get it working. For me, I was doing everything right, I was just using the wrong PHP Version, As of this writing, the latest PHP Version is 7.4.3 which does not work.
I was able to get the next Version Down working 7.3.15.
Note: I have not tried to use any other 7.3.15 Version except the Non Thread Safe x64, since it work, I left it, you can test the other versions if you want. It will not hurt anything.
Brackets has a Developer Console Just like Chrome/Firefox, that show output log info if there are errors it is easy to get to, just click the Errors, But you can also Press F12 or Go to ( Debug -> Show Developer Tools )


It will pop up the Developer Tools and you can click on Console to the the log output. It will help to know if you have an issue with the PHP.
If it is working, it should look something like this:

