What is PHP?
DefinitionPHP 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 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, Drupal and TYPO3, and frameworks such as Laravel and Symfony. Keeping PHP updated is an important part of website security and performance.
PHP resources
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.
Topic: 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/.
- HTML link
<a href="https://glossary.io/php/">What is PHP?</a>
Published · Updated