What Is PHP Hosting?
PHP hosting is a web hosting plan that has the PHP interpreter, a compatible web server and the PHP extensions a site needs already installed and configured. Almost all shared hosting sold today is PHP hosting by default, because PHP powers WordPress and most other popular content management systems. The main things that vary between plans are the PHP version offered and how easily you can switch it.
What makes hosting "PHP hosting"
PHP is a scripting language that runs on the server, not in the visitor's browser. A PHP file is only readable code until a web server hands it to the PHP interpreter, which executes it and produces the HTML that gets sent back. For this to work, the hosting environment needs three things: a PHP interpreter (often run through PHP-FPM, a FastCGI process manager), a web server such as Apache, Nginx or LiteSpeed configured to pass .php requests to it, and the PHP extensions a given application expects, such as mysqli, curl or gd for images.
Because this stack is so common, the term "PHP hosting" is rarely sold as a separate product. Instead, it describes ordinary shared, VPS or cloud hosting that is pre-configured with PHP, which covers the large majority of general-purpose web hosting plans.
PHP versions and why they matter
PHP releases a new major version roughly once a year, and each version is supported with security fixes for a limited time before reaching end of life. Running an outdated, unsupported PHP version leaves known vulnerabilities unpatched and can also slow a site down, since newer versions are generally faster. Running too new a version can break an old plugin or theme that has not been updated.
| Situation | What to check |
|---|---|
| New site or fresh install | Use the newest PHP version your software officially supports |
| Older WordPress theme or plugin | Confirm compatibility before upgrading PHP; test on staging first |
| Site still on an end-of-life PHP version | Plan an upgrade soon; unsupported versions get no security patches |
Choosing and configuring a PHP version
Most control panels, such as cPanel or Plesk, include a PHP version selector so you can switch versions per site without contacting support. On a VPS you install and manage PHP yourself, often alongside PHP-FPM pools tuned per site. A typical PHP configuration file, php.ini, controls limits that affect everyday use:
memory_limit = 256M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 60
Shared hosts usually set these to safe defaults and let you request changes through the control panel; raising them beyond the plan's allowance is not possible without upgrading.
What runs on PHP hosting
- Content management systems: WordPress, Joomla, Drupal.
- E-commerce platforms: WooCommerce, Magento, PrestaShop, OpenCart.
- Frameworks: Laravel, Symfony, CodeIgniter for custom applications.
- Forum and community software, webmail clients and many legacy business applications.
If a plan is advertised simply as "web hosting" and supports WordPress, it is effectively PHP hosting, even if the word PHP never appears in the marketing.
Frequently asked questions
Is PHP hosting different from regular web hosting?
Usually not. Most general-purpose shared, VPS and cloud hosting plans already include PHP, so "PHP hosting" is really a description of standard web hosting rather than a separate product.
What PHP version should I use?
Use the newest version your software officially supports. Check your CMS, theme and plugin compatibility notes before upgrading, and test on a staging copy first if you are moving several major versions at once.
How do I change my PHP version?
On shared hosting, look for a "PHP Version" or "MultiPHP Manager" tool in your control panel, which lets you pick a version per site in a few clicks. On a VPS you install the version yourself and point your web server configuration to it.
What happens if my PHP version reaches end of life?
The site keeps running, but it stops receiving security patches for that PHP version, which raises risk over time. Many hosts eventually force an upgrade or warn you well in advance.
Do I need PHP hosting for a static HTML site?
No. A purely static site with no server-side code does not need a PHP interpreter at all, though it will usually run fine on a PHP-enabled plan since the server simply never invokes PHP for those files.
Can I run PHP on a VPS or do I need shared hosting?
PHP runs on any of them. Shared hosting is simplest because PHP is preinstalled and managed for you; a VPS gives more control over versions, extensions and tuning but requires you to set it up yourself.
Related topics
- What Is a Hosting Plan? Hosting Basics
- What Is a Web Server? Web Servers
- What Is Shared Hosting? Hosting Basics
- What Is a VPS (Virtual Private Server)? VPS & Cloud
- What Is Cloud Hosting? Hosting Basics