---
title: "What is PHP?"
term: "PHP"
description: "PHP is an open-source, general-purpose scripting language designed for web development that runs on the server to generate web pages, and it powers widely used software such as WordPress."
url: "https://glossary.io/php/"
published: "2026-11-22T20:57:34.772Z"
updated: "2026-11-23T19:41:09.897Z"
aliases:
  - "PHP: Hypertext Preprocessor"
topics:
  - "Web development"
wikidata: "https://www.wikidata.org/wiki/Q59"
---

# What is PHP?

**Definition:** PHP is an open-source, general-purpose scripting language designed for web development that runs on the server to generate web pages, and it powers widely used software such as WordPress.

**Also known as:** PHP: Hypertext Preprocessor

Rasmus Lerdorf created PHP in 1993 and released it in 1995. The name first stood for Personal Home Page and now stands for the recursive name PHP: Hypertext Preprocessor. The reference implementation is developed by the PHP Group and documented at php.net.

PHP code can be mixed directly with HTML. When someone requests a page, the server runs the PHP, often querying a database such as [MySQL](https://glossary.io/mysql/) or MariaDB, and sends the resulting HTML to the browser.

A large share of websites run on PHP, mainly because of content management systems such as [WordPress](https://glossary.io/wordpress/), Drupal and TYPO3, and frameworks such as Laravel and Symfony. Keeping PHP updated is an important part of website security and performance.

## PHP resources

- [Official website](https://www.php.net)
- [PHP on Wikipedia](https://en.wikipedia.org/wiki/PHP)
- [Google's 'Polymer Project' could replace PHP templates with their 'lit' library and web components](https://coywolf.com/news/web-development/google-lit-templates-web-components/)

## Common questions about PHP

### What's the difference between PHP and JavaScript?

PHP runs on the web server and sends finished HTML to the browser, while JavaScript mainly runs in the browser to make pages interactive. JavaScript can also run on servers through runtimes such as Node.js, and many websites use both languages together.

### What is Composer in PHP?

Composer is the standard dependency manager for PHP. It reads a project's composer.json file, downloads the libraries the project needs, mostly from the Packagist repository, and generates an autoloader so the code can use them. It was first released in 2012.

### What is PHP-FPM?

PHP-FPM, short for FastCGI Process Manager, runs PHP as a separate pool of worker processes that a web server such as Nginx or Apache hands requests to. It became part of PHP in version 5.3.3 and is the usual way to run PHP with Nginx.

### What is the PHP Foundation?

The PHP Foundation is a nonprofit organization founded in 2021 by companies including JetBrains, Automattic and Laravel to pay developers who work on the PHP language itself. It was set up so PHP's core development wouldn't depend on a few volunteers or on single employers.

## Related terms

- [MySQL](https://glossary.io/mysql/)
- [WordPress](https://glossary.io/wordpress/)
- [nginx](https://glossary.io/nginx/)
- [PHP 7.4](https://glossary.io/php-7-4/)
- [Revive Adserver](https://glossary.io/revive-adserver/)
- [Twig](https://glossary.io/twig/)

**Topic:** [Web development](https://glossary.io/topics/web-development/)

## Cite this definition

- APA: What is PHP? (2026, November 22). Glossary. https://glossary.io/php/
- MLA: “What Is PHP?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/php/.
- Chicago: “What Is PHP?” Glossary. Coywolf. November 22, 2026. https://glossary.io/php/.

Published November 22, 2026. Updated November 23, 2026.
