On Mon, 2025-02-17 at 17:08 +0100, François Patte wrote:
Le 2025-02-17 16:29, Mike Wright a écrit :
On 2/17/25 05:44, François Patte wrote:
Bonjour,
Bonjour,
I try to have apache+php running and as far as I can see on fedora help, I have to enable and start php-fpm service.
<snip/>
For more information , I have to ask: "journalctl -xeu php-fpm.service"
Often useless but occasionally helpful...
<cite> php-fpm.service: Failed with result 'exit-code' Failed to start php-fpm.service - The PHP FastCGI Process Maed to start php-fpm.service - The PHP FastCGI Process Manager </cite>
Thank you for answering.
There are a couple of steps to be done after the bits and pieces are installed.
Have you...
sudo a2enmod proxy_fcgi setenvif
there is no a2enmod (as far as I can see: dnf search a2enmod Dernière vérification de l’expiration des métadonnées effectuée il y a 0:05:04 le lun. 17 févr. 2025 16:56:22. Aucune correspondance trouvée. ie. nothing found
sudo systemctl enable php8.X-fpm
answer: Failed to enable unit: Unit file php8.X-fpm.service does not exist.
So: dnf info php8.X-fpm
answer: Erreur : Aucun paquet correspondant à lister ie. No matching packages to list
What you are explaining seems to come from ubuntu or debian distro...
$ dnf info php-fpm Updating and loading repositories: Repositories loaded. Installed packages Name : php-fpm Epoch : 0 Version : 8.3.16 Release : 1.fc41 Architecture : x86_64 Installed size : 8.1 MiB Source : php-8.3.16-1.fc41.src.rpm From repository : updates Summary : PHP FastCGI Process Manager URL : http://www.php.net/ License : PHP-3.01 AND Zend-2.0 AND BSD-2-Clause AND MIT AND Apache-1.0 AND NCSA AND BSL-1.0 Description : PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI : implementation with some additional features useful for sites of : any size, especially busier sites. Vendor : Fedora Project
Install and start with 'sudo systemctl start php-fpm'
poc