I had a fresh install of Rocky 9.5. I installed Virtualmin from the following link: Downloading and Installing | Virtualmin — Open Source Web Hosting Control Panel
and followed the instructions there. There were no errors shown during the install. I then ran the install wizard and accepted the default options for each part and again no problems highlighted there.
I clicked the check configuration button and all went fine and the relevant parts to do with my problem are:
The following PHP execution modes are available : fpm cgi
The following PHP versions are available : 8.0.30 (/bin/php)
The following PHP-FPM versions are available : 8.0.30 (php-fpm)
Then I go to the dashboard and all is fine except this:
PHP-FPM 8.0.30 Server with right facing arrow to start it. So that suggests PHP is not running. I click on the arrow and it doesn’t start.
I have followed some advice in other posts and none of them have helped. I am still not that knowledgeable with linux hence using Virtualmin to manage things. I have not enabled any other repos and have not made any changes to anything apart from the suggestions in other posts but when they haven’t worked I have reversed them. As far as I know I have not installed mod-php. I have not yet added a virtual server so I can ensure everything is working as it should.
From a terminal run the two commands it suggests. My system is different so I couldn’t run them to verify I copied these correctly. You might have to insert the php version into the command. journalctl -xeu php7.3-fpm.service
systemctl status php-fpm.service
journalctl -xeu php-fpm.service
It means not in the current logs because it is too old. That’s why I said to restart it before checking to ensure the logs would have fresh entries. I don’t fully understand how journalctl works so that was the thought behind this.