@@ -25,7 +25,6 @@ install an appropriate version for your platform:
2525
2626``` console
2727curl https://frankenphp.dev/install.sh | sh
28- mv frankenphp /usr/local/bin/
2928```
3029
3130### Standalone Binary
@@ -35,6 +34,8 @@ containing [PHP 8.4](https://www.php.net/releases/8.4/en.php) and most popular P
3534
3635[ Download FrankenPHP] ( https://github.com/php/frankenphp/releases )
3736
37+ ** Installing extensions:** Most common extensions are bundled. It's not possible to install more extensions.
38+
3839### rpm Packages
3940
4041Our maintainers offer rpm packages for all systems using ` dnf ` . To install, run:
@@ -43,9 +44,13 @@ Our maintainers offer rpm packages for all systems using `dnf`. To install, run:
4344sudo dnf install https://rpm.henderkes.com/static-php-1-0.noarch.rpm
4445sudo dnf module enable php-zts:static-8.4 # 8.2-8.5 available
4546sudo dnf install frankenphp
46- # to install extensions:
47- sudo dnf install php-zts-xdebug
48- # if an extension is not available by default, install it with pie
47+ ```
48+
49+ ** Installing extensions:** ` sudo dnf install php-zts-<extension> `
50+
51+ For extensions not available by default, use [ PIE] ( https://github.com/php/pie ) :
52+
53+ ``` console
4954sudo dnf install php-zts-devel
5055sudo pie install asgrim/example-pie-extension --with-php-config=php-config-zts
5156```
@@ -59,44 +64,46 @@ sudo curl -fsSL https://key.henderkes.com/static-php.gpg -o /usr/share/keyrings/
5964echo "deb [signed-by=/usr/share/keyrings/static-php.gpg] https://deb.henderkes.com/ stable main" | sudo tee /etc/apt/sources.list.d/static-php.list && \
6065sudo apt update
6166sudo apt install frankenphp
62- # to install extensions:
63- sudo apt install php-zts-xdebug
64- # if an extension is not available by default, install it with pie
65- sudo apt install php-zts-devel
66- sudo pie install asgrim/example-pie-extension --with-php-config=php-config-zts
6767```
6868
69- ### Usage
70-
71- To serve the content of the current directory, run:
72-
73- ``` console
74- frankenphp php-server
75- ```
69+ ** Installing extensions:** ` sudo apt install php-zts-<extension> `
7670
77- You can also run command-line scripts with :
71+ For extensions not available by default, use [ PIE ] ( https://github.com/php/pie ) :
7872
7973``` console
80- frankenphp php-cli /path/to/your/script.php
74+ sudo apt install php-zts-devel
75+ sudo pie install asgrim/example-pie-extension --with-php-config=php-config-zts
8176```
8277
8378### Homebrew
8479
8580FrankenPHP is also available as a [ Homebrew] ( https://brew.sh ) package for macOS and Linux.
8681
87- To install it:
88-
8982``` console
9083brew install dunglas/frankenphp/frankenphp
9184```
9285
86+ ** Installing extensions:** Use [ PIE] ( https://github.com/php/pie ) .
87+
88+ ### Usage
89+
9390To serve the content of the current directory, run:
9491
9592``` console
9693frankenphp php-server
9794```
9895
99- If you need extensions, you will have to install them with [ pie] ( https://github.com/php/pie ) .
96+ You can also run command-line scripts with:
97+
98+ ``` console
99+ frankenphp php-cli /path/to/your/script.php
100+ ```
101+
102+ For the deb and rpm packages, you can also start the systemd service:
103+
104+ ``` console
105+ sudo systemctl start frankenphp
106+ ```
100107
101108### Docker
102109
0 commit comments