# Action PHP 7.4

Action PHP 7.4 is a self-hosted tools & utilities app. Apache OpenWhisk runtime that executes custom PHP 7.4 serverless functions in response to events, so you can run lightweight code snippets without provisioning a full PHP server. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/6495/action-php-7-4

## Description

Apache OpenWhisk runtime that executes custom PHP 7.4 serverless functions in response to events, so you can run lightweight code snippets without provisioning a full PHP server.

## Platform availability

Available on 0 of 6 install platforms.

## Links

- Docker Hub: https://hub.docker.com/r/openwhisk/action-php-v7.4
- Official website: https://openwhisk.apache.org

## Common questions

### Can PHP 7.4 be run on Ubuntu 22 with Apache after an automatic upgrade to PHP 8.1?

Install PHP 7.4 on Ubuntu 22 and switch Apache back to it after the automatic upgrade to PHP 8.1.

### Does Homebrew php@7.4 always replace the default PHP 7.3 binary?

Not necessarily; php -v can still show PHP 7.3 after installing php@7.4 with Homebrew on macOS Catalina.

### Can installing PHP 7.4 from the Ondrej PPA affect FCGI?

One report says installing PHP 7.4 with the Ondrej PPA caused problems while websites ran under FCGI.

### When should a self-hoster plan to migrate away from PHP 7.4?

Migration can become urgent when hardware breaks or the host no longer physically provides the old PHP version. Upgrading PHP is hard, but regular maintenance is also required.

---
Source: Our Local Host (https://ourlocalhost.com/app/6495/action-php-7-4), the self-hosted and open-source app directory.
