Score:0

PHP-FPM 8.0 Install

es flag

Spun up new Azure web app and have it as PHP8.0 on apache running Debian 10. Wordpress is running on it and i'm trying to get php-fpm installed to increase performance a bit.

  1. Updated my APT Repo (sudo apt-get update && sudo apt-get upgrade --show-upgraded)
  2. Trying to install PHP-FPM (sudo apt-get install libapache2-mod-fcgid php-fpm htop)

But i get Package 'php-fpm' has no installation candidate

Also tried putting in php8.0.3-fpm but couldn't find the package

digijay avatar
mx flag
Add [Ondrej Sury's PHP repository with this script](https://packages.sury.org/php/README.txt), then install php-fpm with `sudo apt install php8.0-fpm libapache2-mod-fcgid` and restart apache2.
djdomi avatar
za flag
you night want to use apt install php8-fpm
J.Doe avatar
es flag
Tried both the suggestions, no luck :( Package php8.0-fpm is not available, but is referred to by another package. (after doing Dijijay) and for djdomi i get Unable to locate package php8-fpm
djdomi avatar
za flag
did you run apt update before installing?
J.Doe avatar
es flag
I did up the update, but....i figured it out. Apparently when upgrading azure web app from PHP 7.4 to 8.0, it changes from Apache to Nginx with fpm preconfigured
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.