php:frankenphp

FrankenPHP - the modern PHP app server

$ curl https://frankenphp.dev/install.sh | sh

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4747  100  4747    0     0  11656      0 --:--:-- --:--:-- --:--:-- 11634
📦 Detected dnf. Installing FrankenPHP from RPM repository...
❗ Enter your password to grant sudo powers for package installation
リポジトリの更新を読み込み中:
リポジトリを読み込みました。
 https://rpm.henderkes.com/static-php-1-0.noarch.rpm                            100% |  28.3 KiB/s |   6.6 KiB |  00m00s
Package                                Arch       Version                                 Repository                Size
Installing:
 static-php                            noarch     1-0                                     @commandline         167.0   B

Transaction Summary:
 Installing:         1 package

パッケージサイズ 7 KiB 、ダウンロードサイズ 0 B 。
完了後、167 B のサイズが利用されます(インストール 167 B、削除 0 B)。
トランザクションを実行中
[1/3] パッケージ ファイルを検証                                     100% | 250.0   B/s |   1.0   B |  00m00s
[2/3] トランザクションの準備                                         100% |   1.0   B/s |   1.0   B |  00m01s
[3/3] インストール中 static-php-0:1-0.noarch                             100% | 247.0   B/s | 436.0   B |  00m02s
Warning: skipped OpenPGP checks for 1 package from repository: @commandline
完了しました!
リポジトリの更新を読み込み中:
リポジトリを読み込みました。
Nothing to do.
リポジトリの更新を読み込み中:
リポジトリを読み込みました。
Package                                 Arch       Version                                 Repository               Size
Installing:
 frankenphp                             x86_64     1.10.1_84-1                             static-php           53.7 MiB
Installing dependencies:
 php-zts-cli                            x86_64     8.4.15-1                                static-php           30.5 MiB
 php-zts-embed                          x86_64     8.4.15-1                                static-php           29.8 MiB

Transaction Summary:
 Installing:         3 packages

パッケージサイズ 31 MiB 、ダウンロードサイズ 31 MiB 。
完了後、114 MiB のサイズが利用されます(インストール 114 MiB、削除 0 B)。
[1/3] php-zts-cli-0:8.4.15-1.x86_64                                             100% | 124.3 KiB/s |   9.1 MiB |  01m15s
[2/3] frankenphp-0:1.10.1_84-1.x86_64                                           100% | 140.0 KiB/s |  12.7 MiB |  01m33s
[3/3] php-zts-embed-0:8.4.15-1.x86_64                                           100% |  94.0 KiB/s |   9.0 MiB |  01m38s
------------------------------------------------------------------------------------------------------------------------
[3/3] Total                                                                     100% | 321.5 KiB/s |  30.9 MiB |  01m38s
[1/4] https://key.henderkes.com/static-php.asc             ???% [<=>               ] |   0.0   B/s |   0.0   B |  00m00s
[1/4] https://key.henderkes.com/static-php.asc             ???% [<=>               ] |   0.0   B/s |   0.0   B |  00m00s
[1/4] https://key.henderkes.com/static-php.asc             ???% [<=>               ] |   0.0   B/s |   0.0   B |  00m00s
[1/4] https://key.henderkes.com/static-php.asc             ???% [<=>               ] |   0.0   B/s |   0.0   B |  00m00s
[1/4] https://key.henderkes.com/static-php.asc             ???% [ <=>              ] |   0.0   B/s |   0.0   B |  00m01s
[1/4] https://key.henderkes.com/static-php.asc             ???% [ <=>              ] |   0.0   B/s |   0.0   B |  00m01s
[1/4] https://key.henderkes.com/static-php.asc             ???% [  <=>             ] |   0.0   B/s |   0.0   B |  00m01s
[1/4] https://key.henderkes.com/static-php.asc              81% [===============   ] |   1.0   B/s |   1.3 KiB |  05m04s
[1/4] https://key.henderkes.com/static-php.asc                                  100% | 936.0   B/s |   1.6 KiB |  00m02s
------------------------------------------------------------------------------------------------------------------------
[4/4] Total                                                                     100% | 321.5 KiB/s |  30.9 MiB |  01m38s
OpenPGP キー 0x1A78797B をインポート中:
 UserID: "Static PHP repository <deb@static-php.dev>"
 識別子: 91531BFD00422E93810EC964EE324C271A78797B
 提供元: https://key.henderkes.com/static-php.asc
キーが正常にインポートされました。
[1/5] パッケージ ファイルを検証                                     100% |   7.0   B/s |   3.0   B |  00m00s
[2/5] トランザクションの準備                                         100% |   1.0   B/s |   3.0   B |  00m02s
[3/5] インストール中 php-zts-cli-0:8.4.15-1.x86_64                       100% |  16.0 MiB/s |  30.5 MiB |  00m02s
[4/5] インストール中 php-zts-embed-0:8.4.15-1.x86_64                     100% |  10.0 MiB/s |  29.8 MiB |  00m03s
[5/5] インストール中 frankenphp-0:1.10.1_84-1.x86_64                     100% | 347.1 KiB/s |  53.7 MiB |  02m38s
>>> %post scriptlet を実行中: frankenphp-0:1.10.1_84-1.x86_64                                                           
>>> %post scriptlet を実行完了: frankenphp-0:1.10.1_84-1.x86_64                                                         
>>> scriptlet 出力:                                                                                                     
>>> Port udp/80 already defined, modifying instead                                                                      
>>> Port udp/443 already defined, modifying instead                                                                     
>>> Error: requesting CA info: performing request: Get "http://localhost:2019/pki/ca/local": dial tcp [::1]:2019: connec
>>> {"level":"info","ts":1764934020.977941,"msg":"maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined"}                 
>>> {"level":"info","ts":1764934020.978333,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimi
>>> {"level":"info","ts":1764934020.9784248,"msg":"using config from file","file":"/dev/null"}                          
>>> {"level":"info","ts":1764934020.9787912,"msg":"shutting down apps, then terminating","signal":"SIGTERM"}            
>>> {"level":"warn","ts":1764934020.978819,"msg":"exiting; byeee!! 👋","signal":"SIGTERM"}                              
>>> {"level":"info","ts":1764934020.9806883,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","
>>> {"level":"info","ts":1764934020.980747,"msg":"serving initial configuration"}                                       
>>> {"level":"info","ts":1764934020.9808176,"logger":"admin","msg":"stopped previous server","address":"localhost:2019"}
>>> {"level":"info","ts":1764934020.980829,"msg":"shutdown complete","signal":"SIGTERM","exit_code":0}                  
>>>                                                                                                                     
完了しました!

🥳 FrankenPHP installed to /usr/bin/frankenphp successfully.
❗ The systemd service uses the Caddyfile in /etc/frankenphp/Caddyfile
❗ Your php.ini is found in /etc/php-zts/php.ini

⭐ If you like FrankenPHP, please give it a star on GitHub: https://github.com/php/frankenphp

  • php/frankenphp.txt
  • 最終更新: 2025/12/05 20:29
  • by ともやん