Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,38 @@ You can also run command-line scripts with:
frankenphp php-cli /path/to/your/script.php
```

### RPM Packages

We offer RPM packages for Red Hat Enterprise Linux 8 to 10. To install, run:

```console
sudo dnf install https://rpm.henderkes.com/static-php-1-0.noarch.rpm
sudo dnf module enable php-zts:static-8.4 # optional, defaults to 8.4, 8.2-8.4 available
sudo dnf install frankenphp
# to install extensions:
sudo dnf install php-zts-xdebug
# if an extension is not available by default, install it with pie
sudo dnf install php-zts-devel
sudo pie install asgrim/example-pie-extension --with-php-config=php-config-zts
```

### DEB Packages

We offer DEB packages for Debian (Bookworm and Trixie) and Ubuntu (Jammy and Noble). To install, run:

```console
. /etc/os-release && \
sudo curl -fsSL https://key.henderkes.com/static-php.gpg -o /usr/share/keyrings/static-php.gpg && \
echo "deb [signed-by=/usr/share/keyrings/static-php.gpg] https://deb.henderkes.com/ $VERSION_CODENAME main" | sudo tee /etc/apt/sources.list.d/static-php.list && \
sudo apt update
sudo apt install frankenphp
# to install extensions:
sudo apt install php-zts-xdebug
# if an extension is not available by default, install it with pie
sudo apt install php-zts-devel
sudo pie install asgrim/example-pie-extension --with-php-config=php-config-zts
```

### Docker

Alternatively, [Docker images](https://frankenphp.dev/docs/docker/) are available:
Expand Down Expand Up @@ -76,6 +108,8 @@ To serve the content of the current directory, run:
frankenphp php-server
```

If you need extensions, you will have to install them with [pie](https://github.com/php/pie).
Copy link

@You-saku You-saku Jul 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[imo]
I learned about pie for the first time.
Is it unnecessary to describe pecl? I feel that pecl is also well-known.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pecl is unmaintained and being phased out. Pie is its replacement.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you your reply.


## Docs

- [Classic mode](https://frankenphp.dev/docs/classic/)
Expand Down