-1

I am using Sublime 3 and just started working with PHP. My problem is that the PHP file is showing up as an HTML. When I save it as index.php and try to view it in the MAMP server, it won't work. I am assuming it's because Sublime 3 is not recognizing this file as PHP but HTML. Can you please help with me configure the HTML to PHP.Thanks

Joanna K.
  • 33
  • 1
  • 9

2 Answers2

0

You can try clicking on the bottom right most button on Sublime Text then pick your languageenter image description here
enter image description here

Seekme
  • 174
  • 8
0

Click the language indicator in the bottom-right corner in sublime's window and select the correct language. For me, changeing from pure php to html doesn't do anything for syntax coloring.

H3ll1n
  • 103
  • 3
  • 13