Oliver
Oliver

Reputation: 33

How to get PHP working in Brackets?

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.

Upvotes: 2

Views: 4185

Answers (1)

Oliver
Oliver

Reputation: 33

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.

Upvotes: 1

Related Questions