I'm trying to test some .php pages locally and preview them in Safari (and other browsers), but none of them render the code (they just show the actual code in the window). I should mention, these pages end in .php but they don't contain any actual php code. I used to be able to preview these pages locally and now I can't. Does anyone know a workaround for this?
This thread has been closed by the system or the community team.
You may vote for any posts you find helpful, or search the Community for additional answers.
Viewing .php files locally
Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.