Vezi pagina în română

IT Glossary

What is PHP (PHP: Hypertext Preprocessor) and what is it used for

The server-side language behind WordPress and most of the web: what it does, which versions still get security fixes and what was fixed on 21 October 2026.

7
sections
5
questions answered

PHP (a recursive acronym for PHP: Hypertext Preprocessor) is an open-source programming language that runs on the web server: it receives the browser's request, reads data from the database and sends back a finished HTML page, which is why visitors never see the PHP code itself. It was created in 1994 by Rasmus Lerdorf as "Personal Home Page Tools" and its source became public in June 1995 (history on php.net). Today it runs WordPress (38.5% of all websites per W3Techs on 18 November 2026), WooCommerce, Magento, PrestaShop and Wikipedia, plus many business applications, and its reputation is worse than its record: the jokes target the permissive chaos of early versions, while PHP 8 is fast and mature and Laravel offers tooling and security on a par with any fashionable stack.

If you are buying software, the sensible question is not whether PHP is "good" but what choosing it implies: a deep, affordable talent pool (switching vendors will not be blocked by scarce skills), cheap universal hosting, and native fluency with WordPress and WooCommerce, where customisations and integrations are written in PHP anyway. Two hygiene checks matter: the version (PHP 8.1 and everything older, including 5.x, 7.x and 8.0, no longer receives security fixes from the PHP project) and the quality of the code, because the same language writes both clean Laravel and fifteen-year-old patchwork. In October 2026 two critical vulnerabilities made the version an urgent matter, detailed below.

Why it matters for your business

A deep, affordable talent pool

PHP developers are everywhere, from freelancers to large agencies — your project never depends on a rare and expensive specialty.

Native to WordPress and WooCommerce

Customisations, plugins and integrations for the platforms that dominate the web are written in PHP — the local language of most sites.

Universal, low-cost hosting

PHP runs on virtually every ordinary hosting plan, with no demanding infrastructure for typical applications — usually no dedicated server needed.

How PHP works on a website

When someone opens a page, the browser sends the request to the web server (Apache or Nginx). The server hands the PHP file to the interpreter (usually through PHP-FPM or the mod_php module), which runs the script, queries the database (MySQL or MariaDB) and produces HTML. The browser receives only that HTML.

Example: a WooCommerce product page does not exist as a ready-made file; PHP builds it on every visit, with the price and stock from the database. On shared hosting the PHP version is usually chosen in the hosting control panel.

What PHP is used for: the 2026 numbers

According to W3Techs, on 18 November 2026 PHP ran on 68.1% of the websites whose server-side language is known, and WordPress was used by 38.5% of all websites (57.5% of those whose content management system is known). Besides WordPress, MediaWiki (the engine behind Wikipedia), Drupal, Joomla, Magento and PrestaShop are written in PHP.

For custom business applications the usual choices are the Laravel and Symfony frameworks, which bring structure, security defaults and code that another supplier can take over more easily.

Want an estimate for your project?

Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.

Book a free call

Supported PHP versions in November 2026

According to php.net (read on 18 November 2026): PHP 8.5 has active support until 31 December 2027 and security fixes until 31 December 2029; 8.4 has active support until 31 December 2026 and security fixes until 31 December 2028; 8.3 gets security fixes only, until 31 December 2027; 8.2 gets security fixes only, until 31 December 2026, so plan the move to a newer version now. php.net announced PHP 8.6.0 for 19 November 2026.

No longer supported by the PHP project: 8.1 (end of life on 31 December 2025), 8.0 (26 November 2023) and 7.4 (28 November 2022). Per W3Techs on 18 November 2026, of PHP sites 24.7% run PHP 7, 7.3% PHP 5 and 0.1% PHP 4, so at least 32% use a major version with no support at all, before counting the sites on PHP 8.0 and 8.1.

The PHP vulnerabilities of October 2026

On 21 October 2026 php.net published a security advisory about two critical vulnerabilities that allow unauthenticated remote code execution: CVE-2026-109618 (OOM corruption) and CVE-2026-109619 (stale global state after memory is freed). Each scores CVSS v4 9.2 (Critical) in the project's GitHub advisories. Wiz Research, one of the credited reporters, says in its own post that it used AI models in the discovery.

The fixes are in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35: any lower release on the same branch is affected. The risk covers every installation serving web requests (PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, LiteSpeed), highest with mod_php. PHP 8.1 and older get no updates from the PHP project; its security team published only minimal source backports for 7.4, 8.0 and 8.1, meant for people building from source, so the alternatives are a vendor with extended support or a move to a supported version. Temporary measures only reduce exposure; updating is the only complete fix.

In Romania, the national cybersecurity directorate (DNSC) issued an alert on 21 October 2026: an unpatched, internet-exposed PHP server carries a high risk of compromise, and it recommends updating, checking for signs of compromise and migrating unsupported versions.

What a company does: ask the host or developer for the exact version ("8.3.36 or newer", not just "8.3"). On shared hosting the provider applies the fix; on a VPS or your own server it is you or your supplier. If you run 7.x, 8.0 or 8.1, you need an upgrade project.

For a business: when PHP is a good choice

PHP on a current version, with a modern framework, is a solid and economical choice: developers are easy to find, hosting runs PHP everywhere, and the WordPress/WooCommerce ecosystem is native. When taking over an existing site, a code audit separates useful legacy from burden. Mocking PHP is an industry sport, not a procurement criterion; the real criteria are the version, the code quality and who maintains it.

Frequently asked questions

What does PHP stand for?

PHP is a recursive acronym: PHP: Hypertext Preprocessor. It began as "Personal Home Page Tools", created by Rasmus Lerdorf in 1994–1995. It is a programming language that runs on the server and generates web pages before they reach the browser.

Which PHP version is safe in 2026?

PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 or newer, the releases carrying the 21 October 2026 fixes. Branch 8.2 loses security support on 31 December 2026, and 8.1 and older have none. Upgrading takes days to weeks including testing, not a rewrite.

How do I find out which PHP version my site uses?

Ask the host or developer, or check the hosting panel (in cPanel, "Select PHP Version" or "MultiPHP Manager"). In WordPress, the version appears under Tools → Site Health → Info → Server. On a server, the command "php -v" prints it.

Is PHP outdated — should I ask for something else on a new project?

No. PHP 8 with Laravel is a modern, productive stack for business web applications and anything around WordPress. Node.js or Python are equally legitimate: choose by fit with the project and the labour market that will maintain it. Avoid old versions and framework-less code, not the language.

Laravel keeps appearing in PHP proposals — what is it and why does it matter?

Laravel is the dominant PHP framework: structure, security defaults and mature tooling for business applications. It is also a quality signal: a team on modern Laravel usually writes code that is easier to take over than one with an "in-house framework", so maintenance is cheaper and changing suppliers stays possible.