PHP Lesson 1 - Getting Setup

This is the first of a series of PHP tutorials. This first lesson explains how to setup your computer to begin programming PHP.



Prepare Development Workspace

  1. Setup your development workspace by downloadig and installing XAMPPLite. (This installs the Apache webserver, MySQL, and PHP.)

  2. Open the folder where you installed XAMPPLite and run the file called xampp-control.exe.

  3. Click "Start" next to "Apache".

  4. Get a good text editor like NotePad++.


Create a New Empty Website

  1. Open the folder where you intalled xampplite. (Example: c:program filesxampplite)

  2. Open the "htdocs" folder.

  3. Create a folder for your new website. (Example: "mywebsite")


Creating Your First PHP Page

  1. Create a file called "index.php" in your new website folder.

  2. Using a text editor, type the following in the index.php file: <?php echo "Hello World" ?>

  3. Save the file.


Viewing Your First PHP Page

  1. Open your browser and navigate to http://localhost/mywesite (where "mywebsite" is the name of the folder you created earlier.

  2. You should now see the words "Hello World" displayed in your browser.


Lesson Index

Comments

Bloggernity said…
You had a few good points here. We done an investigation on the topic and also got most individuals may trust your site.
Websites You Should Visit...

[...]very few websites that happen to be detailed below, from our point of view are undoubtedly well worth checking out[...]...
Youre so cool! I dont suppose Ive read anything like this before. So nice to find somebody with some original thoughts on this subject.
Sup currently there, You could have performed a terrific process. I'll absolutely delicious it again along with for me personally recommend highly towards our friends. We are assured they'll get benefited from the web page.
promovare seo said…
Thanks so much for this, agree with Darts too. A lot of times we don't need to employ tree menus and they just muddle things up!
promovare seo said…
Wow, Great post,Nice work, I would like to read your blog every day Thanks
calculatoare sh said…
I have learned result-oriented things by your blog. One other thing I'd like to say is that newer computer os's are likely to allow a lot more memory to get used, but they in addition demand more memory simply to function. If someone's computer could not handle more memory and the newest software package requires that memory increase, it usually is the time to shop for a new Computer. Thanks
Thanks for sharing, this article is just great, especially for beginners. I mean, her, awesome thoughts
Many thanks for making the sincere effort to explain this. I feel fairly strong about it and would like to read more. If it's OK, as you find out more in depth knowledge, would you mind writing more posts similar to this one with more information?
I expected much more from this article. I found it on Google and hoped it will be better
covorase auto said…
Thank you so much for this helpful info! I just have one question, does this need to be done every time a page is added? Or will it automatically update on it's own? Thanks!
You've posted some good stuff on the topic, are you planning to do a FAQ facing this concern inside the future, as i've some far more questions that may well be common to other readers.
aer conditionat said…
I just turned off the default Snow Leopard Apache in the system preferences. Then tried to use:
aer conditionat said…
Apple now has Rhapsody as an app, which is a great start, but it is currently hampered by the inability to store locally on your iPod, and has a dismal 64kbps bit rate. If this changes, then it will somewhat negate this advantage for the Zune, but the 10 songs per month will still be a big plus in Zune Pass' favor.
Your job is important to us. We are a fast response plumbing repair company and we do our best to attend your job on the same day you call. Where this is not possible we will attend on the following day.
The smooth site developed through the online log the place folks would preserve the running bank account of the individual lives. Most such authors called them selves diarists journalists or journalers. Justin Hall that began person blogging in 1994 while college students at Swarthmore University is often acknowledged among the many very first blog writers because is Jerry Pournelle. Dork Winer??s Scripting News is also credited with getting among the many earliest and likewise best operating weblogs. One more early blog website online had been Wearable Wifi Webcam a web-based shared log of a individuals individual life merging textual content material movie as well as photos transported reside from the wearable pc and in addition EyeTap gadget with a view to a web site in.
sem calcinha said…
Adoro me mostrar peladinha na web cam
I'm extremely inspired together with your writing skills as well as with the structure on your blog. Is this a paid topic or did you customize it yourself? Anyway stay up the nice high quality writing, it's uncommon to see a great weblog like this one these days.

Popular posts from this blog

Adobe® Flex® Combobox: Selecting an Item Without Using SelectedIndex

Parameters Sent by TinyWebDB in App Inventor for Android