I needed to get php and php-fpm on 8.2 by default, and researching the formum for removing an old php, was confusing.
I ran:
dnf remove php80-php-{cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}
dnf remove php82-php-{cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}
dnf install php82-php-{cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}
dnf module switch-to php:remi-8.2
I verified that I only have php82 installed, and removed and installed it again, to make sure the links were good.
I looked into these folders:
/etc/httpd/conf.d
/etc/opt/remi
/etc/systemd/system
/usr/lib/systemd/system
Only php-82 is installed.
I can run virtualmin check-config from the command line, but when I click on re-check configuration from the web page, it pulls up the last results very quit, as if it did not run it, showing php80-fpm.
Also the the Server Status reset for php-fpm is updated, shows 8.0, which I still see signs of in some screens, so I am not sure it is gone, or how to get rid of it.
I reran the install wizard.
virtualmin check-config
Your system has 58.6 GiB of memory, which is at or above the Virtualmin recommended minimum of 256 MiB
BIND DNS server is installed
Mail server Postfix is installed and configured
Postfix is configured to support per-domain outgoing IP addresses
Apache is installed
Apache supports HTTP/2 on your system
The following CGI script execution modes are available : fcgiwrap
The following PHP execution modes are available : fpm cgi
The following PHP versions are available : 8.2.25 (/bin/php82-cgi)
The following PHP-FPM versions are available : 8.2.25 (php-fpm)
Apache is configured to host SSL websites
MariaDB 10.5.22 is installed and running
Logrotate is installed
SpamAssassin and Procmail are installed and configured for use
ClamAV is installed and assumed to be running
The System and Server Status module is installed and checking on schedule
Plugin AWStats reporting is installed
Plugin Protected web directories is installed
Using network interface eth0 for virtual IPs
IPv6 addresses are available, using interface eth0
Default IPv4 address for virtual servers is <Redacted>
Default IPv6 address for virtual servers is <Redacted>
Detected external IPv4 address is <Redacted>
Both user and group quotas are enabled for home and email directories
All commands needed to create and restore backups are installed
Resource limits are supported and configured correctly
The selected package management and update systems are installed
Chroot jails are available
The Virtualmin repository is configured correctly
OK
The following is empty.
grep -R '/etc/opt/remi/php80' /etc/webmin/virtual-server
And
ls /etc/opt/remi/
php82
System Information
OS type and version AlmaLinux 9.5
Webmin version 2.202
Virtualmin version 7.20.2 Pro
- How can I ensure php80 is removed?
- How can I fix re-check configuration on web page?
- How can I fix the restart service for php-fpm on web page?
These all work form terminal.
Thanks for any help.