Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to I enable PHP on my MacBook?

I have tried a lot of online tutorials on how to enable PHP on a Mac and nothing seems to work. I'm hoping another 'Mac' person out there knows the secret to what I am missing. =)

MacBook Pro (15-inch 2.4/2.2 GHz), Mac OS X (10.6.8)

Posted on May 1, 2012 8:29 AM

Reply
21 replies

May 2, 2012 11:36 AM in response to emilymagnuson

Okay, cracked it. I created the files on my Mac and got the same result you're getting, but I fixed it. The problem is the line I said earlier, what you need to do is take out the leading '/', which forces it to look in the root folder. So the line should read:


<form action="scripts/sayHelloWeb.php" method="POST">


Then it works!

How to I enable PHP on my MacBook?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.