# PHP-FPM Apache

PHP-FPM Apache is a self-hosted development app. Docker image bundling Apache and PHP-FPM (PHP FastCGI Process Manager) into a single container for running PHP web applications, from quick tests to live hosting. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5811/php-fpm-apache

## Description

Docker image bundling Apache and PHP-FPM (PHP FastCGI Process Manager) into a single container for running PHP web applications, from quick tests to live hosting.

## Platform availability

Available on 0 of 9 platforms.

## Health score

50/100 (Fair), based on 4 of 4 factors.
- Maintained: 72 (last commit 20 days ago)
- Popular: 17 (6 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Light to run: 80 (1 GB minimum RAM, runs on ARM)

## Links

- Docker Hub: https://hub.docker.com/r/shinsenter/phpfpm-apache
- Official website: https://code.shin.company

## Common questions

### Should I disable mod_php before switching Apache to PHP-FPM?

If mod_php is still loaded, disable it before switching to PHP-FPM. It normally keeps Apache on mpm_prefork and defeats cleaner worker separation.

### Can PHP-FPM with Apache run multiple PHP versions with process isolation?

Yes, the guide covers configuring PHP-FPM with Apache for better performance, multiple PHP versions, and process isolation.

### Is there a user guide for setting up PHP-FPM with Apache virtual hosts?

Yes, the source is a short user-written guide for implementing php-fpm with Apache virtual hosts.

---
Source: Our Local Host (https://ourlocalhost.com/app/5811/php-fpm-apache), the self-hosted and open-source app directory.
