PHP-FPM 8.2 on OpenBSD 7.3

はじめに OpenBSD 🐡 プロジェクトとコミュニティは PHP を含めて Internet サービス向けパッケージを、ありがたいことに、とても良くサポートしています。 PHP 主要パッケージは Ports パッケージ・システムによってプリコンパイルされたバイナリとして提供されています。それだけで無く、エクステンション (拡張モジュール) や Composer、それから PECL ライブラリなどの、重要なソフトウェアも入手できます。NextCloud や Zabbix のようなフレームワークも同様です。 さらに、OpenBSD httpd と統合すると、その chroot 機構によってサーバーをセキュアな状態で維持するのに役立ちます。もちろん追加で relayd と統合することも可能です。 ところで、PHP-FPM という PHP の FastCGI プロセス・マネージャーがありますが、こちらは OpenBSD パッケージ管理上は PHP の一部として提供されています。そのため PHP (php-?.? パッケージ名はインストールするバージョンによります) をインストールするだけで、php??_fpm も自動的にインストールされます 🙌 本記事でパッケージをインストールしてサーバーとして設定する流れをご紹介します。 環境 OS: OpenBSD 7.3 Internet: OpenBSD httpd PHP: 8.2 with PHP-FPM […]

OpenBSD httpd 7.3: Web サーバー

はじめに OpenBSD は独自の Internet サーバーを開発・維持しています。”httpd” という名前で、ISC ライセンス (英語) が適用されています。httpd は OS インストール時に自動でインストールされます。 これはシンプルで、堅牢で、セキュアな、すばらしい Internet サーバーです。パフォーマンス面で言うと、ライバルたちと比べて最速というわけではありません。しかしながら十分な速度を有しており、且つ、現在も開発が続いています。例えば gzip 圧縮 (英語) サポートが 7.1 から実装されました。 さらには、httpd を relayd という OpenBSD 純正のリレー・デーモンと統合することで、より機能的なサーバー構成にすることもできます。 本記事で、httpd を設定して動かすための旅にお連れします。良い旅路になりますように 🐡 環境 OS: OpenBSD 7.3 Internet: OpenBSD httpd チュートリアル 設定ファイル httpd.conf の準備 httpd サービスを有効にするためには、httpd.confが必要です。デフォルトの場所は /and so on/httpd.conf です。include キーワード と組み合わせる (英語) ことも可能です: embody キーワードで、追加の設定ファイル群を embody (包含) […]

PHP-FPM 8.2 on OpenBSD 7.3

Abstract The OpenBSD 🐡 challenge and their group assist Net service packages together with these of PHP very properly, fortunately. The PHP core bundle is obtainable as pre-compiled binary by way of Ports packages system. As well as, vital softwares resembling extensions, Composer and PECL libraries can be found. So are frameworks resembling NextCloud and […]

PHP-FPM 8.1 on OpenBSD 7.3

Abstract To my perception, OpenBSD 🐡 and their group help PHP Internet providers effectively fortunately. The core bundle is obtainable as pre-compiled binary via Ports packages system. As well as, vital softwares akin to extensions, Composer and PECL libraries can be found. So are frameworks akin to NextCloud and Zabbix. Furthermore, when it’s built-in with […]

OpenBSD httpd 7.3: Web server

Abstract OpenBSD develops and maintains their very own net server known as “httpd” underneath ISC license.It’s put in by default in OS set up. The nice net server is one thing that’s easy, sturdy and safe.On efficiency, it’s not the quickest among the many opponents. Nevertheless, it’s sufficient quick, and, as well as, the event […]