File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# FrankenPHP: Modern App Server for PHP
22
3- <h1 align = " center " ><a href =" https://frankenphp.dev " ><img src =" frankenphp.png " alt =" FrankenPHP " width = " 600 " ></a ></h1 >
3+ <h1 style = " text-align : center ; " ><a href =" https://frankenphp.dev " ><img src =" frankenphp.png " alt =" FrankenPHP " style = " width : 600 px ; " ></a ></h1 >
44
55FrankenPHP is a modern application server for PHP built on top of the [ Caddy] ( https://caddyserver.com/ ) web server.
66
@@ -43,6 +43,21 @@ You can also run command-line scripts with:
4343frankenphp php-cli /path/to/your/script.php
4444```
4545
46+ ### RPM Packages
47+
48+ We offer rpm packages for Red Hat Enterprise Linux 7 to 10. To install, run
49+
50+ ``` bash
51+ sudo dnf install https://rpm.henderkes.com/static-php-1-0.noarch.rpm
52+ sudo dnf module enable php-zts:static-8.4 # optional, defaults to 8.4, 8.2-8.4 available
53+ sudo dnf install frankenphp
54+ # to install extensions:
55+ sudo dnf install php-zts-xdebug
56+ # if an extension is not available by default, install it with pie
57+ sudo dnf install php-zts-devel
58+ sudo pie install asgrim/example-pie-extension --with-php-config=php-config-zts
59+ ```
60+
4661### Docker
4762
4863Alternatively, [ Docker images] ( https://frankenphp.dev/docs/docker/ ) are available:
@@ -76,6 +91,8 @@ To serve the content of the current directory, run:
7691frankenphp php-server
7792```
7893
94+ If you need extensions, you will have to install them with [ pie] ( https://github.com/php/pie ) .
95+
7996## Docs
8097
8198- [ Classic mode] ( https://frankenphp.dev/docs/classic/ )
You can’t perform that action at this time.
0 commit comments