× Terms of Use Privacy Policy

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

×

LAST DAY

Skillcrush Career Blueprints begin TODAY, Monday, May 4th

Click HERE to signup before enrollment closes

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 ;).

Want more articles like this?

Sign up to get the most recent tech news, tips and career advice.

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

2 comments

  1. Richard Noel Replied

    Can’t wait to learn more about Lamp. :)

x
Wondering if TECH might be right for you?

Sign up for FREE for weekly updates & fun lessons!