问题
I'm almost finished my first website. All that's left is the contact which I will do with PHP. So far I have been using Brackets for coding HTML5 and CSS.
From my research I understand that I need a server to run PHP so I installed XAMPP. I have relocated my project inside the htdocs
folder of XAMPP, however when I try to open up my PHP page in Brackets' live preview I get this.
回答1:
Found out whats wrong, I had to go to project settings in brackets and adjust the directory to match the location of the project inside the xampp directory.
来源:https://stackoverflow.com/questions/37950211/how-to-get-php-working-in-brackets