In many ways PHP took over the mantle from Perl — it was an easy scripting language that could embed right within HTML (or embed HTML within itself, depending on how you want to look at it), was supported by popular open source web servers (*cough* Apache), and had bindings to popular relational databases (yup, MySQL).

But unlike Perl, PHP was clever enough to innovate faster when it came to staying relevant — the HHVM was a threat large enough to make Zend drop any plans for PHP 6 and jump to PHP 7 (resulting in a 200% performance increase), and just when it was looking like the development scene in PHP was all about monkey coding or make-your-own-framework, Laravel dropped a bombshell.

Point being, the PHP of today is nowhere near that of the yesteryears — it has horns, wings, shoots lasers with its eyes, and can unroot a tree or two with no problem. Those who stuck with it (myself included, the main reason being laziness :-P) now have a modern, excellent toolset for building web applications.

Which brings us to another embarrassing past area — hosting. Yes, PHP hosting providers are still a dime a dozen, and many of them were built to inflict suffering on the unsuspecting public, but equally true, there are now all sorts of robust and excellent options available.

This post is for the developer or anyone who cares about quality, freedom, and performance; the one who shudders at the thought of FTP uploads and CPanel (although knows how to work with them!).

1: DigitalOcean

Essentially, DigitalOcean is famous for Virtual Private Servers (VPS) that offer very good performance and control for the DevOps team. With this freedom also comes responsibility, of course — you are responsible for optimizing, managing, and securing your infrastructure. If you have a modern PHP app, that’s most likely what you’re looking for.

DigitalOcean has several amazing features, almost making it a mini-AWS for developers:

  • One-click installs for popular PHP apps
  • Tools like Load Balancers, Private Networking, etc.
  • Object Storage, Block Storage, SSD storage, etc.
  • Several types of servers depending on needs — general purpose, high CPU, or high RAM
  • API-based infrastructure management for easy scaling up or down
  • Rich monitoring and usage and statistics
  • Marketplace, custom OS images, backups, etc.
  • Hosted databases (PostgreSQL as of writing, but MySQL and others are soon coming)

DigitalOcean is what I use for hosting client projects, WordPress websites, command-line PHP scripts, and whatnot, and I’ve never had a single problem with performance or security. Highly recommended for those for reliability and flexibility.

2: A2Hosting

A2 Hosting is a large and trusted hosting service that specializes in PHP. If you’re tired of the performance issues with your current hosting platforms and still want to keep the spend in strict check, A2 Hosting is worth checking out.

As you can see, the plans are lovely, but that’s no marketing schtick — A2 Hosting delivers. A quick comparison of the plans reveals that for under $10 a month, you get a server with 2 GB RAM, two cores, and optimized hardware.

A2 Hosting excels in simple, traditional PHP hosting — WordPress, Magento, simple frameworks, one-page scripts, etc., but makes a lot of sense when disk performance is a concern.

3: Heroku

Heroku has traditionally been associated with Ruby on Rails and Python ecosystems (for its love of PostgreSQL and simple, near-artistic deployments). But now, PHP developers can also rejoice!

Whether it’s plain PHP, Laravel, Symfony, HHVM, or any other variant/package, Heroku does it all with a simple git push that seems too good to be true but actually is. Scaling is taken care of automatically, and there are several Heroku services (add-ons) to make your deployment life easier.

Heroku is among the costlier hosting platforms for PHP out there, but it’s rock-solid and comes with a great reputation for quality and stability.

5: CloudWays

It’s possible that you see the merits of hosting platforms like DigitalOcean, Linode, etc., but you lack a trusted team to do the DevOps stuff. If so, Cloudways is a great alternative that will manage your PHP application on a platform of your choosing.

Of course, that means the pricing goes up. I did a quick-and-dirty check of the pricing plans, and as a general rule, you pay double of what you’d ordinarily pay to these hosting platforms. Which, honestly, is a pretty sweet deal, if you ask me, especially considering that Cloudways offers free migration help for your website.

I mean, for less than $50 a month, you can run an e-commerce store that generates thousands of dollars of sales a month and handles spikes very well.

You gain all the nice features that your dream platform offers, and you gain peace of mind. What more can one ask for? 🙂

6: Platform.sh

How do I even begin describing Platform.sh? 🙂 Okay, let’s try this — you’ve likely heard of Symfony (the most robust PHP web framework out there), Magento (the e-commerce platform when it comes to heavy lifting), and TYPO3 (a complex, highly modular CMS), right?

Well, all of these have Platform.sh as their PHP hosting of choice.

The reason is that Platform.sh goes beyond the call of duty, providing everything needed in a modern PHP application — from support for latest PHP versions to simple, one-click deployment for microservices.

If you have a large, serious business that runs on PHP, Platform.sh should be #1 on your radar.

And it’s not as if it costs a fortune. For $270 a month (compare plans here), you can run a website that easily handles a couple of million page views a month. Now, I agree that $270 sounds a lot, especially when PHP hosting is available for, like, $5 a month. However, Platform.sh is a game changer for game changers, and is not to be taken lightly. 🙂

Related Posts
Security is essential for any website to provide security, build the trust of visitors, and for better
Having default product error page from Apache HTTP or Nginx doesn’t look good and it
Optimization is one of the essential exercises for website owners and bloggers. Without right optimization,
Finding it hard to search for the best hosting platform for Node.js? We got you