0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ubuntu 24.04 LTSで自宅サーバー構築(PHP + PHP-FPMの設定)

Last updated at Posted at 2024-08-12

初期費用無料、月額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円から、高速・多機能・高安定レンタルサーバー『エックスサーバー』

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?