Take me back!! I want my CSS!! Click me to get back :)

Close X

Skillcrush FREE 10-Day Bootcamp

Become a digital know-it-all in just 5 minutes a day!

PHP

PHP is one of the most popular programming languages for the web.

When you ask a web server for a page, it’s PHP’s job to create it. When you browse a WordPress blog or make a post on Facebook, PHP is putting it all together.

If you wanted a very simple PHP page to greet you every time you looked at it, it might look something like this:

<?php echo “Hi there stranger!”; ?>

That would make a web page that looked like this:

Hi there stranger!

One of the reasons many people learn PHP instead of Ruby or Python is that it comes installed on pretty much every web server out there. If you happen to have a bit of web space to your name, chances are you’re able to run PHP.

A pretty typical way you’ll see people working with PHP is along with Linux (an operating system), Apache (a web server), MySQL (a database), and PHP. This kind of setup is called LAMP.

Cocktail Party Fact

PHP supposedly stands for “PHP: Hypertext Preprocessor.” If you said “Hey, but that doesn’t say what PHP means!” then you get the point ;).

  • Valerie Anderson

    I love LAMP. Just sayin’.