My PHP version won’t change in virtual min therefore plugins in wordpress aren’t working. I have some plugins that require 7.4 PHP, the server has been updated to 7.4 see php-v output here:
php -v
PHP 7.4.33-SergeyD/6.1 (cli) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
However inside virtual min it still reads PHP versions 7.2.24.
So plugins in wordpress that have been created via the virtual min system are still reading 7.2, I’ve tried everything please advise how to fix this.
Php -v issued on the command line will return the cli version of php which could be different to the version running on your web server . Check the domains php options in virtualmin to ensure everything is correct. It may be a case of disabling php on the domain and re enabling php with the correct version. But tbf you have not explained how you changed the php version in the first place, so this is just a guess
I’m looking for a place to do this, I did re-check configuration but I’m not seeing the option anywhere to set the PHP version for the domain. Still looking…
The status of your system is being checked to ensure that all enabled features are available and properly configured …
Your system has 15.66 GiB of memory, which is at or above the Virtualmin recommended minimum of 256 MiB
BIND DNS server is installed
Your Postfix configuration is missing the system’s mail hostname from the mydestination line, which will cause mail to bounce. The current value is localhost, localhost.localdomain
I think that tells me you didn’t install Virtualmin using the install script. All bets are off. We have no idea what’s going on on your system.
And, obviously if Re-Check Configuration won’t complete, Virtualmin has no idea what PHP versions you have on your system. You’ll need to disable mail features or fix the problem it has reported.
Also, Ubuntu 18.04 has been EOL for a while. It’s pretty dangerous to run it on the open internet.