-
Notifications
You must be signed in to change notification settings - Fork 400
add documentation about deb/rpm packages and how to install extensions #1756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
04590b3
2b6dc5a
6bd48ce
c6a1949
55fc915
ff1e4a4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| # FrankenPHP: Modern App Server for PHP | ||
|
|
||
| <h1 align="center"><a href="https://frankenphp.dev"><img src="frankenphp.png" alt="FrankenPHP" width="600"></a></h1> | ||
| <h1 style="text-align: center;"><a href="https://frankenphp.dev"><img src="frankenphp.png" alt="FrankenPHP" width="600"></a></h1> | ||
|
|
||
| FrankenPHP is a modern application server for PHP built on top of the [Caddy](https://caddyserver.com/) web server. | ||
|
|
||
|
|
@@ -43,6 +43,21 @@ 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 7 to 10. To install, run: | ||
henderkes marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ```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 | ||
| ``` | ||
|
|
||
| ### Docker | ||
|
|
||
| Alternatively, [Docker images](https://frankenphp.dev/docs/docker/) are available: | ||
|
|
@@ -76,6 +91,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). | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [imo]
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pecl is unmaintained and being phased out. Pie is its replacement. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you your reply. |
||
|
|
||
| ## Docs | ||
|
|
||
| - [Classic mode](https://frankenphp.dev/docs/classic/) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.