跳转到主要内容

PHP 主机

跟得上你代码节奏的 PHP 主机

任跑现代 PHP 版本,按域名一键切换,配上 Composer、SSH 以及应用所需的各种扩展——全都在高速 NVMe 服务器上。

$2.42

PHP 主机每月

PHP 8.4

最新版随时可用

一键

切换 PHP 版本

Composer

已内置

Developer coding on a web hosting server

版本控制

一个账户,多个 PHP 版本

不同项目需要不同的运行时。我们不会把所有站点硬塞进同一个版本,而是让你为每个站点选定 PHP 版本,并随时在控制面板里更改。

先在测试域名上试升级,确认没有问题再推到生产环境。万一某个版本表现不对劲,一键就能切回来。

  • 最高支持到 PHP 8.4 的新版
  • 每个域名可用不同版本
  • 一键切换,随时回滚
  • 需要时也有 7.x 旧版本

为什么选我们的 PHP 主机

为 PHP 开发者的工作方式而生

PHP 开发者在多版本主机环境中工作

现代 PHP 版本一应俱全

跑应用所需的确切版本——从 7.x 旧版一路到 PHP 8.4——在同一个账户里并存运行。

一键切换

在控制面板里按域名切换 PHP 版本。先试升级,一旦出问题立刻回滚。

Composer 就绪

Composer 已预装并配合 SSH 使用,拉包和自动加载依赖开箱即用。

你需要的扩展

GD、mbstring、cURL、intl、OPcache、PDO、Imagick 等都已启用且可调,不用开工单。

为速度调优

NVMe 存储、OPcache 加上 LiteSpeed 级缓存,流量突增时响应时间依然很低。

隔离且安全

CloudLinux 让每个账户各行其道,邻居的失控脚本永远吃不掉你的资源。

套餐

实惠的 PHP 主机套餐

每个档位都含完整的 PHP 版本选择器、Composer 和 SSH——挑一个资源配置合适的即可。

Launch

Everything you need to get one site online

$2.42/mo

renews at the same price · billed annually

SSD storage
10 GB
Websites
1
Bandwidth
500 GB
CPU / RAM
1 core / 2 GB
Databases
25 MySQL
  • Free domain for your first year
  • Free auto-renewing SSL
  • Free website migration
  • Free AI website builder
  • WordPress Toolkit + daily backups
  • SSH, Git & Composer
立即开通
Most Popular

Pro

Host as many sites as you like

$4.66/mo

renews at the same price · billed annually

SSD storage
20 GB
Websites
25
Bandwidth
1 TB
CPU / RAM
1 core / 2 GB
Databases
50 MySQL
  • Free domain for your first year
  • Free auto-renewing SSL
  • Free website migration
  • Free AI website builder
  • WordPress Toolkit + daily backups
  • SSH, Git & Composer
立即开通

Elite

High-performance hosting with 200 GB NVMe storage

$7.08/mo

renews at the same price · billed annually

SSD storage
200 GB
Websites
100
Bandwidth
2 TB
CPU / RAM
2 cores / 4 GB
Databases
100 MySQL
  • Free domain for your first year
  • WordPress Toolkit Deluxe
  • 6-hourly backups + Imunify360
  • PHP X-Ray & CloudLinux Pro
  • Python, Node.js & Ruby
  • Priority 24/7 support
立即开通
cPanel control panel for managing web hosting

工具链

Composer、扩展和命令行,全部就位

你每天都要用的工具,这里都已经准备好。用 Composer 拉依赖,按框架建议开关扩展,调整 PHP 设置也无需提交工单。

SSH 访问、真正的命令行和定时任务,让部署、数据库迁移和后台作业的跑法跟你本机上一模一样。

  • Composer 已预装,通过 SSH 使用
  • GD、mbstring、cURL、intl、Imagick 等
  • 已启用 OPcache 和 PDO
  • 可调 memory_limit 与上传大小
NVMe SSD storage for fast website loading speed

性能

高负载下依然飞快的 PHP

速度来自整套架构,而不是某一项设置。NVMe 硬盘降低磁盘延迟,OPcache 把编译后的脚本留在内存里,服务器级缓存则缩短了页面渲染的路径。

CloudLinux 隔离每个账户,你的 CPU 和内存始终是你的——PHP 应用在业务高峰时的表现,和半夜里一样出色。

  • NVMe SSD 存储
  • OPcache 与对象缓存
  • 服务器级页面缓存
  • CloudLinux 资源隔离

精细调优

这些 PHP 设置真的由你掌控

凡是会绊住繁忙 PHP 应用的参数,都能在控制面板里按站点调整——不用开工单,也不用等。

调整 php.ini 中的 memory_limit 与 OPcache 等设置

memory_limit

为导入量大的后台、Magento 管理端或生成大型报表和 PDF 的场景调高,否则任务跑到一半就会撞上上限。

max_execution_time

给长时间任务——数据导入、图片处理和大型数据库迁移——多留几秒,让它们干净地跑完。

upload_max_filesize 与 post_max_size

两项一起调高,大体积媒体上传、备份和 CSV 导入才能通过,而不是到了限额就无声失败。

OPcache

把编译后的 PHP 字节码留在内存里,并调整其容量和时间戳检查,生产环境就不必每次请求都重新编译。

realpath 缓存

为包含数千个 include 的重框架应用调大,PHP 就能从缓存而不是磁盘解析文件路径。

max_input_vars

为提交数百个字段的设置页和表单调高,提交时就不会有内容被悄悄截断。

适合谁用

在我们的 PHP 主机上跑得特别顺的项目

在 PHP 主机上运行的 Laravel 与 Symfony 框架应用

框架应用

Laravel、Symfony、CodeIgniter 和 Slim 都能跑得很舒服,它们要的命令行、定时任务和 Composer 全都有。

CMS 与电商

WordPress、Drupal、Joomla 和 Magento 都能用上最适合自己的 PHP 版本和内存限额。

自研与遗留代码

内部 PHP 系统、老项目和定制 API,都能拿到当初为之开发的确切运行时和扩展。

使用流程

从开通到上线只要几分钟

用 Composer 与 SSH 分步部署 PHP 项目
1

挑一个套餐

选好主机档位并解析域名——每个套餐都带完整的 PHP 版本选择器。

2

设定 PHP 版本

打开控制面板,为每个域名选好 PHP 版本,再开关应用依赖的扩展。

3

用 Composer 部署

SSH 登录,执行 composer install,配好定时任务并推送代码——环境就绪,随时对外服务。

包含内容

PHP 应用需要的一切

  • 多个 PHP 版本任你选择
  • 按域名一键切换版本
  • 预装 Composer
  • SSH 与 Git 访问
  • OPcache 与对象缓存
  • 常用 PHP 扩展按需启用
  • 可调 memory_limit 与上传大小
  • 定时任务与命令行执行
  • 最多 100 个 MySQL 数据库
  • 免费 SSL,自动续期
Scalable hosting for growing websites

自由成长

流量攀升时有足够的扩容空间

先从小规模起步,数据说话时再成长。升级套餐会提高各项资源上限而不需要重装任何东西——你的 PHP 版本、扩展、数据库和文件都会原样带过去。

  • 点几下即可升级套餐
  • 最多 100 个 MySQL 数据库
  • 需要时可放宽各项上限
  • 代码和数据原地不动

常见问题

PHP 主机常见问题

我能跑哪些 PHP 版本?

现代 PHP 8.x 的各个版本一直到 PHP 8.4 都可以跑,而且版本是按域名单独设置的,不会被全平台统一的默认版本锁死。如果某个项目还依赖较老的 7.x 构建,那也提供,所以遗留应用和全新应用可以安安稳稳地共用同一份主机。按站点选择版本很重要,因为不同应用的要求各不相同:最新的 CMS 和框架往往要求 PHP 8.2 或更新,而某个老插件或定制脚本可能只在更早的版本上做过认证。由于切换是即时且可逆的,你绝不会被迫一次性升级所有站点——每个站点都能按自己的节奏迁移。新版本一旦获得官方支持我们就会上架,你完全来得及在当前版本停止维护之前,迁到一个仍在积极维护的版本上。

怎么切换 PHP 版本?

点一下就行。打开控制面板里的 PHP 选择器,为那个具体域名选定要用的版本,立即生效——不用提工单,也不用等维护窗口。因为设置是按域名生效的,你可以先在测试站点上试升级:把它切到新版本、把应用跑一遍,确认没有问题再把生产站点迁过去。万一某个版本带来了麻烦——比如废弃函数,或者某个插件还没跟上——回滚同样快,你绝不会被困在一个表现异常的版本上。扩展和该版本的核心设置也在同一个界面里管理,所以选好版本后,你可以精确启用应用需要的模块。实际用起来,跟上 PHP 的节奏只是两分钟的小事,而不是一个项目。

有 Composer 吗?

有。Composer 在每个套餐里都已预装并支持通过 SSH 使用,管理 PHP 依赖的体验和在你自己电脑上完全一致。登录后,composer install、composer update、composer require 和 composer dump-autoload 都会立刻针对你为该站点选定的 PHP 版本执行。这对现代 PHP 开发至关重要,因为 Laravel、Symfony 这类框架以及数不清的独立库都是通过 Composer 分发,而不是手工下载。你的 composer.json 和 composer.lock 留在自己的代码仓库里,所以本地测试过的包版本,就是最终进入生产环境的确切版本。除了 Composer,你还有一个真正的命令行来完成其余工作——运行框架自带的 CLI、触发数据库迁移、清缓存、编写部署脚本。定时任务支持意味着凡是能手动执行的,都能按计划自动执行,无需等我们帮你设置。

我可以启用额外的 PHP 扩展吗?

可以。多数应用会用到的扩展——处理图片的 GD 和 Imagick、处理多字节和国际化文本的 mbstring 与 intl、发起外部请求的 cURL、访问数据库的 PDO 及 MySQL 驱动,再加上 OPcache、zip、bcmath 等等——都能在控制面板里按 PHP 版本随时开关。因为扩展列表和你选定的版本绑定,你可以只给某个站点开它需要的模块,而不影响账户里的其他站点。同一个区域还能调整那些常绊住繁忙应用的核心 php.ini 参数,例如 memory_limit、max_execution_time 和上传大小上限,让你精确满足 CMS 或框架文档写明的要求。大多数扩展开启后即刻生效,不用提工单。如果你的应用依赖某个比较冷门的模块,我们的团队可以帮你确认是否可用并协助启用,不用自己瞎猜有没有。

我的框架或 CMS 能在这里跑吗?

几乎可以肯定能。Laravel、Symfony、CodeIgniter 和 Slim 都跑得很好,主流的内容和电商平台——WordPress、Drupal、Joomla 和 Magento——同样如此,因为它们都是标准的 PHP 应用,而这里正是一套标准且配置齐全的 PHP 环境。想装得顺利,诀窍只是让环境对上软件的建议:设好它支持的 PHP 版本、启用它列出的那几个扩展,文档要求更高时再调高 memory_limit 或上传大小上限。之后你可以按自己喜欢的方式部署——热门平台用一键安装器,框架项目或自研代码用 Git 和 Composer。真正的命令行和定时任务覆盖了这些系统依赖的计划任务,从队列处理到夜间维护都不在话下。如果你拿不准某个具体应用合不合适,我们的支持团队大概率见过它,可以给你建议。

是什么让 PHP 应用保持快速?

速度来自整套架构的协同,而不是某一个开关。NVMe SSD 存储削减了每次文件读取和数据库查询背后的磁盘延迟,页面因此组装得更快。OPcache 把编译后的 PHP 字节码留在内存里,服务器每次请求就不必重新编译你的脚本——对框架代码来说这是很大的节省。服务器级缓存缩短了回头访客拿到渲染页面的路径,对象缓存则把应用反复查询的数值从数据库的压力中卸下来。底层的 CloudLinux 把每个账户隔离在自己的资源通道里,邻居的失控脚本绝不会在流量高峰时悄悄饿死你的 CPU 或内存——最忙的时候,应用表现和最闲的时候一样。再把 OPcache、realpath 缓存和 PHP 版本按你的负载调优,就能把响应时间的最后一点余量也榨出来。

今天就把你的 PHP 项目发布上线。

挑好套餐、设定 PHP 版本,用 Composer 和 SSH 部署——需要帮忙时随时有真人支持。

查看 PHP 套餐

The Full Picture

Choosing PHP hosting isn't just about which version ships by default — it's about what happens when you need to move an existing app over, when a query starts timing out at 2am, or when a plugin update needs rolling back fast. This page covers the operational side of running PHP applications here: migration, backups, support and the guarantees that sit around the technical stack described above.

Every plan runs on NVMe SSD storage with LiteSpeed, includes free auto-renewing SSL and a cPanel-style panel with 1-click installers, and is backed by a 30-day money-back guarantee. Pricing starts at $2.42/mo for shared PHP hosting, with managed WordPress from $4.19/mo, VPS from $9.99/mo and dedicated servers from $149.99/mo for apps that outgrow shared resources.

Deep Dives

The details behind the promises

How a PHP application migration actually happens

Moving a live PHP app is riskier than moving a static site, because a broken database connection string or a missing cron job can take a working application offline even after the files copy over cleanly. Free managed migration handles the full stack — code, the MySQL database behind it, environment configuration and any cron jobs your app depends on — rather than just the files in public_html.

Our team verifies the app actually loads and connects to its database on the new account before your domain is pointed over, so visitors don't land on a half-migrated site. Framework apps that rely on a composer.lock file or a .env for configuration are migrated with those intact, so the dependency versions and settings you tested locally are the ones that go live.

Security settings that protect PHP apps by default

Every domain gets a free SSL certificate that renews automatically, so a PHP app serving forms, logins or checkout pages stays on HTTPS without you tracking an expiry date on a calendar. CloudLinux keeps your account's processes separate from every other customer on the same server, which matters for PHP specifically because a compromised or misconfigured neighbour script can't reach into your files or database.

Because PHP versions are yours to control per domain, staying on a current, security-patched release is a setting change rather than a migration project. Combined with isolated file ownership and database credentials that are unique per account, the environment is set up so a vulnerability in one PHP app doesn't become a way into another.

Support, backups and the safety net around your app

PHP errors rarely happen at a convenient hour, so support is staffed 24/7 by people who can look at the actual server logs behind a fatal error or a 500 response rather than asking you to describe it from memory. Daily backups run automatically and cover your files and databases together, so a bad deploy or a corrupted table has a same-day recovery point rather than a week-old one.

If a PHP project turns out to need a different environment than expected — more memory, a different caching layer, or root access — the 30-day money-back guarantee gives you a full month to find that out with real traffic before committing. That trial period is long enough to run an actual release cycle, not just a first-impressions check.

Pricing, currency and knowing when to move up

Shared PHP hosting here starts at $2.42/mo, with managed WordPress plans from $4.19/mo for CMS-based PHP sites that want more hands-off tuning. Prices display automatically in your local currency through geo-currency detection, while billing itself is settled in USD by Bohzo Ltd, the UK-registered company operating Hosting Cheap — so invoices stay consistent even as the number you see at checkout adapts to where you are.

Most PHP apps run comfortably on shared resources for years, but a few signals suggest it's time to move up: sustained high CPU from a busy queue worker, a need for root access to install a system-level dependency, or database load that benefits from dedicated tuning. VPS plans start at $9.99/mo for that extra control, and dedicated servers from $149.99/mo when an app needs a server to itself.

cPanel control panel for managing web hosting

Database and administration tools for PHP developers

A PHP app is only as reliable as the database behind it, so direct access to manage that database matters as much as the PHP runtime itself. phpMyAdmin is included for browsing tables, running queries and exporting data without needing a separate desktop client, and dedicated database users keep credentials scoped to a single project.

When something does go wrong, access and error logs are available directly from the control panel, so you can trace a fatal error or a slow query back to its source instead of guessing. That combination of database tools and log access turns troubleshooting from a support ticket into something you can usually resolve yourself in minutes.

  • phpMyAdmin included for direct database work
  • Dedicated database users scoped per project
  • PHP error and access logs from the control panel
  • Remote MySQL access available when you need it

More Reasons

Built to help you grow

Free auto-renewing SSL

Every domain gets HTTPS automatically, with the certificate renewing itself before it expires.

Free managed migration

Our team moves your PHP app's code, database and cron jobs over and verifies it loads before cutover.

24/7 human support

Real people who can read your server logs are reachable around the clock, not a scripted bot.

Daily backups

Files and databases are backed up together every day, giving you a recent restore point if something breaks.

30-day money-back guarantee

Test your app with real traffic for a full month before you're committed to the plan.

Geo-currency pricing

Checkout displays pricing in your local currency while billing stays consistent in USD.

Getting Started

How to get going

1

Share access to your current host

Hand over FTP, database and any control panel logins so migration can begin without you copying files manually.

2

We move code, database and cron jobs

Your app, its MySQL database, environment configuration and scheduled tasks are transferred and tested together.

3

Confirm it loads, then cut over

Once the migrated app is verified working, we point your domain across so visitors see zero downtime.

Good To Know

What's covered

  • Free auto-renewing SSL on every domain
  • Free managed migration of PHP apps and databases
  • Daily backups covering files and databases together
  • 24/7 human support for PHP-specific troubleshooting
  • 30-day money-back guarantee on every plan
  • phpMyAdmin for direct database administration
  • Geo-currency pricing shown at checkout

More FAQ

More questions, answered

Can you migrate my existing PHP application for free?

Yes — free managed migration covers your code, MySQL database, cron jobs and configuration files, not just what's in your public folder. Our team verifies the migrated app actually connects to its database and loads correctly before your domain is pointed across, so there's no gap where visitors see a broken site.

Are backups included, and can I restore my PHP app myself?

Daily backups run automatically and capture your files and databases together, so a bad deploy or a corrupted table has a recent recovery point. Restores are self-serve from the control panel, meaning you don't need to open a support ticket and wait to roll back a change.

Does my PHP site get HTTPS automatically?

Yes, every domain includes a free SSL certificate that renews itself automatically, so forms, logins and any checkout pages your PHP app serves stay encrypted without you needing to track an expiry date.

What if this PHP hosting turns out to be the wrong fit for my app?

Every plan carries a 30-day money-back guarantee, which is enough time to deploy your actual app, run it under real traffic and test a release cycle before deciding to stay.

How does billing and currency work?

Pricing displays automatically in your local currency through geo-currency detection, but billing is settled in USD by Bohzo Ltd, the UK-registered company behind Hosting Cheap. That keeps invoices consistent even though what you see at checkout adapts to your location.

When should I move a PHP app from shared hosting to a VPS or dedicated server?

Signals worth watching are sustained high CPU from background jobs, needing root access for a system-level dependency, or database performance that would benefit from dedicated tuning. VPS plans start at $9.99/mo and dedicated servers from $149.99/mo for apps that have outgrown shared resources.