Complete Beginner. I'm lost!
Posted: Sat Feb 04, 2012 12:54 am
So I'm really itching to start to learn PHP, but at the moment, I haven't even started and already there are things I'm not clear about. I'm running on an OS X Snow Leopard, and I've read that it comes with PHP already installed. I know I can write PHP in programs like Dreamweaver and TextMate, but as far as I know, I've always had to upload my files onto a web server for them to actually run. I've been reading up on how to install PHP on my computer, but there are a lot of things I feel like I'm not clear about and that I don't understand.
1. How do I install, or upgrade my version of PHP on a Mac. What do I need to be able to run and test it locally?
2. If I do run and test locally, will it affect my system if I make mistakes or whatnot?
3. How does it all work?
I've only got experience in coding in HTML and CSS. And the only PHP I do know is php include, so when it comes to anything else, I'm totally lost. It's not so much the scripting that troubles me, it's understanding how it works. I don't want to end up doing something completely stupid that messes up my computer.
Thanks in advance for answering my questions!
1. How do I install, or upgrade my version of PHP on a Mac. What do I need to be able to run and test it locally?
2. If I do run and test locally, will it affect my system if I make mistakes or whatnot?
3. How does it all work?
I've only got experience in coding in HTML and CSS. And the only PHP I do know is php include, so when it comes to anything else, I'm totally lost. It's not so much the scripting that troubles me, it's understanding how it works. I don't want to end up doing something completely stupid that messes up my computer.
Thanks in advance for answering my questions!