初期費用無料、月額990円から、高速・多機能・高安定レンタルサーバー『エックスサーバー』
PHP-FPMの設定の前に
https://qiita.com/sqoot610/items/4400eda5416184c78d75
を設定してください。
taisuke@ubuntuserver:~$ sudo apt -y install php8.3-fpm
taisuke@ubuntuserver:~$ sudo a2enmod proxy_fcgi setenvif
Considering dependency proxy for proxy_fcgi:
Enabling module proxy.
Enabling module proxy_fcgi.
Module setenvif already enabled
To activate the new configuration, you need to run:
systemctl restart apache2
taisuke@ubuntuserver:~$ sudo a2enconf php8.3-fpm
Enabling conf php8.3-fpm.
To activate the new configuration, you need to run:
systemctl reload apache2
taisuke@ubuntuserver:~$ sudo systemctl restart php8.3-fpm apache2
taisuke@ubuntuserver:~$ sudo echo '' > /var/www/html/info.php
初期費用無料、月額990円から、高速・多機能・高安定レンタルサーバー『エックスサーバー』
ubuntu 24.04 LTSで自宅サーバー構築(PHP + PHP-FPMの設定)
Last updated at Posted at 2024-08-12
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme