Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wilson.palooza

macrumors newbie
Original poster
May 17, 2008
3
0
Where to start? I've been all over the internet for the last 16 hours, been to a lot of sites a lot of times, but still can't solve this issue.

I have a MacBook, which I bought a couple of months ago. I've been playing around with web development, and am trying to get started on php.

I've checked with terminal and I have PHP version 5.2.4 and Apache version 2.2.6. However, whenever I write any php code it just comes up in browser as plain text.

I've checked the httpd.conf in the apache2 folder for the lines to uncomment, however only the addmodule line is there (not the addtype and others). I've tried adding the other ones in, but they don't seem to be doing anything.

If anyone knows of a way to fix this, I'd be VERY appreciative.

Thanks guys and gals.
 
I tried to get all the included web modules working the way I wanted and eventually gave up. I couldn't get Apache to read my .htaccess files in my virtual hosts directory. Anyway, the path of least resistance is to use MAMP. Believe me, you'll be extremely happy using MAMP.
 
Got MAMP?

Well, thanks for all your help and advice guys. I have created my own website from scratch and (as you said) MAMP is excellent.

I haven't launched the site yet, but when I do I'll be sure to post the address for you to check out.

Thanks again!
Luke.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.