From 55a56b85a41aa3e2b4e3d530c7fc91691f3a11ca Mon Sep 17 00:00:00 2001 From: "Livreware.org" Date: Tue, 29 Aug 2023 10:12:45 -0400 Subject: updated php, fixed typo, added firewall and docs This commit updates the PHP version on several articles, which is currently 8.2 on Debian It also uses symbolic links (such as `php-fpm.sock`) on nginx config files and dependency packages (such as `php-mbstring`) that will always point to the most recent version of PHP, so there is no need to change those once PHP is updated. On places where the PHP version must be specified, such as the `/etc/php/8.2/` directory and the `php8.2-fpm` systemd service, I have changed the version accordingly. I believe I have covered every instance of PHP usage on the website, and programs should work fine. If I missed something or made a change that broke the configuration of some program, please let me know. Additionally, I have fixed a typo on mumble.md, which called the command `scp` as `spc`, added a command to open the mumble port on your firewall and added documentation links for further configuration of the server. --- content/rss-bridge.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/rss-bridge.md') diff --git a/content/rss-bridge.md b/content/rss-bridge.md index 5876d88..5ff9fa7 100644 --- a/content/rss-bridge.md +++ b/content/rss-bridge.md @@ -25,7 +25,7 @@ setup Fail2Ban. There\'s a great tutorial on how to do this [which can be read h Next we\'ll install the required packages: ```sh -apt install -y curl unzip nginx certbot php-fpm php-mysql php-cli php7.4-mbstring php7.4-curl php7.4-xml php7.4-sqlite3 php7.4-json +apt install -y curl unzip nginx certbot php-fpm php-mysql php-cli php-mbstring php-curl php-xml php-sqlite3 php-json ``` We now have to create the website configuration file. Create/open the a @@ -49,7 +49,7 @@ server { location ~ \.php$ { include snippets/fastcgi-php.conf; - fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; + fastcgi_pass unix:/var/run/php/php-fpm.sock; } location ~ /\.ht { -- cgit v1.2.3