StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Infrastructure as a Service
  4. Virtual Machine
  5. HHVM (HipHop Virtual Machine) vs PHP-FPM

HHVM (HipHop Virtual Machine) vs PHP-FPM

OverviewComparisonAlternatives

Overview

HHVM (HipHop Virtual Machine)
HHVM (HipHop Virtual Machine)
Stacks146
Followers135
Votes95
GitHub Stars18.5K
Forks3.1K
PHP-FPM
PHP-FPM
Stacks121
Followers119
Votes0

HHVM (HipHop Virtual Machine) vs PHP-FPM: What are the differences?

Key Differences between HHVM and PHP-FPM

HHVM (HipHop Virtual Machine) and PHP-FPM are both alternative execution engines for PHP-based applications. While they serve similar purposes, there are several key differences between the two.

  1. Performance: One of the significant differences between HHVM and PHP-FPM is performance. HHVM, developed by Facebook, is known for its superior performance and efficiency. It accomplishes this by using a just-in-time (JIT) compilation technique that converts PHP code into optimized machine code, resulting in faster execution. In contrast, PHP-FPM, which stands for PHP FastCGI Process Manager, relies on the standard PHP interpreter, making it comparatively slower.

  2. Compatibility: Another difference lies in compatibility. PHP-FPM is highly compatible with the vast majority of PHP applications and frameworks. It can run almost any PHP-based application without any significant issues. On the other hand, HHVM, although compatible with many PHP applications, may require modifications and adjustments to function correctly. Some PHP extensions and libraries may not be compatible with HHVM, leading to potential compatibility issues.

  3. Language Features: HHVM and PHP-FPM also differ in the language features they support. PHP-FPM supports the full range of PHP language features, including the latest PHP versions and language enhancements. HHVM, however, has evolved to introduce its own set of additional language features, called Hack. Hack supports features like strict typing, asynchronous programming, and various other modern language constructs. These language enhancements can provide developers with more flexibility and productivity, but they also require learning and adopting the Hack-specific syntax.

  4. Community and Support: The community and support for HHVM and PHP-FPM also differ. PHP-FPM benefits from being the default and widely-used PHP interpreter, making it more popular and having an extensive support network. Numerous online resources, forums, and communities are available for PHP-FPM, providing ample assistance to developers. While HHVM also has a community and support base, it is comparatively smaller and more niche. Finding specific help for HHVM-related issues might be more challenging.

  5. Development Activity: The development activity and updates for HHVM and PHP-FPM differ significantly. PHP-FPM is actively developed as part of the PHP project and benefits from the continuous updates and improvements of the PHP language. HHVM, however, has seen a decline in development and popularity in recent years. Facebook, the primary contributor to HHVM, has shifted focus to other projects, resulting in a slower pace of development and fewer updates.

  6. Operating System Support: HHVM and PHP-FPM also differ in terms of operating system support. PHP-FPM has widespread support for various operating systems, including Linux, Windows, macOS, and others. It can be easily integrated with popular web servers like Apache and Nginx. In contrast, HHVM has limited operating system support and is primarily designed and optimized for running on Linux systems. While it can be used on other platforms, the experience and performance might not be as optimal.

In summary, HHVM and PHP-FPM differ in terms of performance, compatibility, language features, community and support, development activity, and operating system support. These differences should be considered when choosing between the two for a specific project.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Detailed Comparison

HHVM (HipHop Virtual Machine)
HHVM (HipHop Virtual Machine)
PHP-FPM
PHP-FPM

HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining the flexibility that PHP developers are accustomed to. To date, HHVM (and its predecessor HPHPc before it) has realized over a 9x increase in web request throughput and over a 5x reduction in memory consumption for Facebook compared with the PHP 5.2 engine + APC.

It is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites. It includes Adaptive process spawning, Advanced process management with graceful stop/start, Emergency restart in case of accidental opcode cache destruction etc.

Statistics
GitHub Stars
18.5K
GitHub Stars
-
GitHub Forks
3.1K
GitHub Forks
-
Stacks
146
Stacks
121
Followers
135
Followers
119
Votes
95
Votes
0
Pros & Cons
Pros
  • 30
    Very fast
  • 24
    Drop-in PHP replacement
  • 14
    Works well with nginx
  • 14
    Backed by Facebook
  • 12
    Open source
No community feedback yet
Integrations
PHP
PHP
Hack
Hack
No integrations available

What are some alternatives to HHVM (HipHop Virtual Machine), PHP-FPM?

Sidekiq

Sidekiq

Sidekiq uses threads to handle many jobs at the same time in the same process. It does not require Rails but will integrate tightly with Rails 3/4 to make background processing dead simple.

Beanstalkd

Beanstalkd

Beanstalks's interface is generic, but was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously.

Laravel Homestead

Laravel Homestead

Laravel Homestead is an official, pre-packaged Vagrant "box" that provides you a wonderful development environment without requiring you to install PHP, HHVM, a web server, and any other server software on your local machine. Homestead runs on any Windows, Mac, or Linux system, and includes the Nginx web server, PHP 5.6, MySQL, Postgres, Redis, Memcached, and all of the other goodies you need to develop amazing Laravel applications.

Hangfire

Hangfire

It is an open-source framework that helps you to create, process and manage your background jobs, i.e. operations you don't want to put in your request processing pipeline. It supports all kind of background tasks – short-running and long-running, CPU intensive and I/O intensive, one shot and recurrent.

Resque

Resque

Background jobs can be any Ruby class or module that responds to perform. Your existing classes can easily be converted to background jobs or you can create new classes specifically to do work. Or, you can do both.

Azure Virtual Machines

Azure Virtual Machines

You can create Linux and Windows virtual machines. It gives you the flexibility of virtualization for a wide range of computing solutions—development and testing, running applications, and extending your datacenter. It’s the freedom of open-source software configured the way you need it.

delayed_job

delayed_job

Delayed_job (or DJ) encapsulates the common pattern of asynchronously executing longer tasks in the background. It is a direct extraction from Shopify where the job table is responsible for a multitude of core tasks.

Faktory

Faktory

Redis -> Sidekiq == Faktory -> Faktory. Faktory is a server daemon which provides a simple API to produce and consume background jobs. Jobs are a small JSON hash with a few mandatory keys.

Kue

Kue

Kue is a feature rich priority job queue for node.js backed by redis. A key feature of Kue is its clean user-interface for viewing and managing queued, active, failed, and completed jobs.

Hosting Provider THE.Hosting

Hosting Provider THE.Hosting

⚡️ THE.Hosting is the best hosting provider. ❇️ Ultra-fast server response time. Web hosting! ✅ Low cost VPS and dedicated servers. ☝ Tariffs on the website. ✅ support@THE.Hosting

Related Comparisons

GitHub
Bitbucket

Bitbucket vs GitHub vs GitLab

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot