Skip to content

Managed PHP Hosting for a Custom Application: PHP-FPM, Composer and Git

On this page

Last updated: · By

Short answer: managed PHP hosting is a cloud server where the hosting company manages the operating system, PHP-FPM, the database and the cache, and you just upload code. On Cloudways you choose a Custom PHP application on Flexible, and get PHP 7.4 to 8.4, Composer 2 pre-installed, Git and SSH from the panel, and MySQL 8.4 or MariaDB 10.11. Pricing starts at $11 a month (DigitalOcean Standard), as of 7 Nov 2026.

⏱ Setup time: 20–40 minutes · Difficulty: intermediate (developers) · Last checked against the official documentation: 7 Nov 2026

At a glance: a PHP application on Cloudways (as of 7 Nov 2026)

Application typeCustom PHP (on Flexible; Autonomous is for WordPress)
PHP versions7.4, 8.0, 8.1, 8.2, 8.3, 8.4. Default on a new server: 8.2
DatabaseMySQL 8.4 or MariaDB 10.11
Installed toolsPHP-FPM, Composer 2, Git, SSH/SFTP, Cron
PHP version per applicationIn Public Preview, on new servers from 8 Aug 2026
Starting price$11 a month on DigitalOcean Standard; $14 for the regular Micro
Free trial5 days, no credit card
Regions (example)Tel Aviv is available on Vultr, AWS and Google Cloud

What is managed PHP hosting, and how is it different from a VPS?

The difference is who maintains the server. On an unmanaged VPS you install Nginx, PHP and a database yourself, and apply security updates yourself. On managed hosting the server arrives configured, and updates, backups and monitoring are yours only at the code level.

OptionWhat you manageBest forMain limitation
Shared hostingFiles onlyA small script or a brochure siteNo SSH or Composer on some plans, shared resources
Unmanaged VPSEverything: operating system, web server, PHP, securityA team with DevOpsEvery failure is yours
Managed PHP server (Cloudways)Code, dependencies and PHP settingsDevelopers and agencies without a DevOps personNo root access; the stack is fixed

More on the differences between hosting types is in the VPS hosting guide and the managed hosting guide.

What do you get on a PHP server on Cloudways?

A server with the tools a PHP developer needs on day one, with no installation. The details, according to the official knowledge base:

  • PHP-FPM: PHP’s process manager, which runs separately from the web server. According to the Cloudways knowledge base, it has been installed on every new server since August 2016. The practical meaning: PHP directives in the .htaccess file do not work, and you set them in the PHP settings editor in the panel.
  • Composer 2: PHP’s dependency manager, pre-installed. If you need Composer 1 for an old project, you can install it alongside the new version.
  • Git: deploy from a Git repository (GitHub, for example) from inside the panel, including automatic deployment with a webhook. The full explanation is in the Git deployment guide.
  • SSH and SFTP: per-user access, with SSH keys and IP restriction. See the SSH guide.
  • The private_html folder: a folder above public_html for configuration files and secrets. It is included in backup, restore and cloning.
  • Caching: Varnish, Redis and Memcached from the panel. Note: the memcache extension (without the d) is not supported, only memcached.

According to the Cloudways application list, the same PHP stack can also run Drupal, Joomla, PrestaShop, OpenCart, Symfony, CodeIgniter, CakePHP and Yii. Laravel has a dedicated application, which I covered in the Laravel hosting guide.

Which PHP version should you choose in 2026?

PHP 8.3 or 8.4. The reason: the default on a new Cloudways server is 8.2, but according to the php.net supported versions page, security support for 8.2 ends on 31 Dec 2026, less than two months after 7 Nov 2026.

VersionSecurity support until (php.net)Available on CloudwaysRecommendation
7.4, 8.0, 8.1EndedYesOnly for old code, with an upgrade plan
8.231 Dec 2026Yes (default)Upgrade soon
8.331 Dec 2027YesA safe choice for existing code
8.431 Dec 2028Yes, on Debian 11 or 12 serversThe choice for a new project
8.531 Dec 2029Not listed in the Cloudways documentationCheck in the panel

There is a gap in the documentation worth knowing. The compatibility article lists PHP 8.4 among the supported versions, but the application table in the general list shows Custom PHP only up to 8.3. In practice, what counts is what appears in your own panel. How to switch version is explained in the guide to changing the PHP version.

How do you deploy a PHP application to Cloudways, step by step?

From an empty server to an application that answers on your domain. Each step points to its detailed guide.

  1. Launch a new server and choose a Custom PHP application, a cloud provider and a location. Pick a location close to your users (for example Tel Aviv on Vultr, AWS or Google Cloud). The explanation is in the guide to launching a server.
  2. Set the application’s PHP version and the database.
  3. Connect the project’s Git repository and deploy the main branch to the public_html folder.
  4. If the application’s entry point is in a subfolder (for example public), update the application’s webroot. According to the MCP server tools list, this is a setting you can change per application.
  5. Connect over SSH, go to the application folder and run Composer with the application’s PHP version (see the command below).
  6. Move configuration files and passwords to private_html, and update the code to read them from there.
  7. Set up scheduled tasks from the panel, and tune memory and execution time in the PHP settings.
  8. Connect a domain, install an SSL certificate, and test the application before changing DNS.
Black Friday80% off
80% off 2 months of managed hosting

The code BFCM802 takes 80% off your bill for the first two months (up to $200 off per month), including unlimited free site migrations. New customers only, and only until the offer ends.

The offer ends on December 4, 2026 at 23:59 (UTC+2).

Ends in—days—hours—minutes—seconds
Code:
Grab the 80% now

Start with a free trial, no credit card. Enter the code at checkout and check that it shows up.

After Black Friday: 30% off for 3 months with the code ASAEL. On a large server (above about $444 a month) ASAEL already saves more today. BFCM802 vs. ASAEL calculator

Why does Composer run on the wrong PHP version?

Because the terminal’s PHP is not the site’s PHP. According to the Cloudways Composer article, commands over SSH run on the server’s CLI version, PHP 8.2 by default, and you cannot change that. If the application is on 8.3, run Composer with the binary of the matching version:

cd /home/master/applications/APP_FOLDER/public_html
php8.3 $(which composer) install --no-dev --optimize-autoloader

The same principle applies to Cron. A task created from the panel automatically gets the application’s PHP version. A task added by hand with crontab -e needs a full path, for example /usr/bin/php8.3, otherwise it runs on the server’s default version. The full explanation is in the scheduled tasks guide.

Where should you place a PHP server?

Close to most of your users. A custom application is usually dynamic: a dashboard, forms, an API. Requests like that do not come from a cache, so each one pays the travel time to the server.

In my measurement from a home connection in Israel (6 Nov 2026), a Vultr server in Tel Aviv answered a ping in 9ms on average, and a Vultr server in Frankfurt in 72ms. This is a measurement from one location, not a performance test, but it shows what the choice of location is worth. The details are in the server location guide.

When is Cloudways not a fit for a PHP application?

When you need full control of the server. There is no root access, so you cannot install unusual PHP extensions or your own system services. Anyone who runs containers or a non-standard stack will feel limited.

  • Long-running background processes: Laravel has an official Supervisor guide. For any other project, check with support before you commit.
  • An application that is mostly Node.js: Cloudways Velocity is a better fit, as it is meant for Node applications.
  • One small script: if it is a single form or page, a managed cloud server may be more than you need. See shared hosting limits to decide.

What are the common mistakes when deploying a PHP application?

php_value directives in .htaccess: under PHP-FPM they are not read, and according to the knowledge base they can also cause a 500 error. Move them to the PHP settings editor.

An .env file inside public_html: it exposes passwords if the web server serves it. Move it to private_html.

Forgetting to run Composer after a deployment: the code went up, the vendor folder did not. Add the command to your deployment process.

Upgrading PHP directly on the live site: test on a copy first, following the Staging environment guide.

Black Friday80% off
80% off 2 months of managed hosting

The offer ends on December 4, 2026 at 23:59 (UTC+2).

Code:
Grab the 80% now

Start with a free trial, no credit card. Enter the code at checkout and check that it shows up.

Frequently asked questions

Can I run a custom PHP application on Cloudways?

Yes. On Flexible you choose a Custom PHP application and upload your code through Git, SFTP or SSH. Drupal, Joomla, PrestaShop, Symfony and CodeIgniter also run on the same stack, according to the official application list.

Which PHP versions does Cloudways offer?

According to the compatibility article, PHP 7.4, 8.0, 8.1, 8.2, 8.3 and 8.4, with 8.4 requiring a Debian 11 or 12 server. A new server comes with 8.2 by default. Versions 5.6 to 7.3 were retired in August 2022.

Is Composer installed on the server?

Yes, Composer 2 is pre-installed on every new server. If the application runs on a different PHP version from the server default, run it with the binary of the matching version, for example php8.3 $(which composer) install.

Is there root access on a Cloudways PHP server?

No. You get SSH and SFTP at the user level, and Cloudways manages the rest of the server. If you need to install system services or unusual extensions, you need an unmanaged VPS.

Which PHP version should I choose for a new project?

PHP 8.4, if your code and dependencies support it. According to php.net, security support for 8.4 runs to the end of 2028, and for 8.2 it ends on 31 Dec 2026.

How much does PHP hosting cost on Cloudways?

From $11 a month on a DigitalOcean Standard server with 1GB, as of 7 Nov 2026. The regular Micro starts at $14. There is a free 5-day trial with no credit card.

Can I run several PHP versions on the same server?

On new servers, yes. A PHP version per application is in Public Preview, available on servers launched from 8 Aug 2026. On older servers the version is still set for the whole server.

Sources

Official source: Which Web Applications Can be Hosted on Cloudways? (Cloudways Knowledge Base). Written and tested by Asael Dreyer · Updated: 7 Nov 2026

Disclosure: this is an independent site, not the official Cloudways site. Some links on this site are affiliate links: if you sign up through them we earn a commission, at no extra cost to you. Full details

Picture of Asael Dreyer
Asael Dreyer

Hi, I'm Asael Dreyer, CEO of an SEO agency that runs hundreds of websites hosted on dozens of Cloudways servers.
Everything you will find here comes from hands-on experience, mine and my teams', straight from the field: from the guides to the recommendations. All to help you get the most out of Cloudways.

More about me →

Need help? Got a question about your server or this guide? Write to us and we will get back to you.

More guides on this topic:
מפריד
Thanks for your message!
We will get back to you soon.
Ready to get started?

Sign up with the coupon code ASAEL