Getting Mac to run php with mamp?

Will Jablowme

New member
Hey so I downloaded mamp and it turns on fine, all things showing as working however I can not get even the simplest of php scripts to run, for example


<html>
<head></head>
<body>

Agent: So who do you think you are, anyhow?
<br />

<?php
// print output
echo 'Neo: I am Neo, but my people call me The One.';
?>

</body>
</html>


I got off a php intro page, I put it into text wrangler, save it under .php and instead of it appearing without the coding as it should when I open it with safari and firefox, it appears ugly code and all... I would love someone to be able to help me figure out whats going on, I'm just losing an absurd amount of time to this.
 
Back
Top