PHP 7.3 not listed

So PHP 7.3 shows up in 'PHP Information' under 'Website Options' but under 'Services' the configuration is not listed for 7.3. It is selectable as a PHP version, just no config file, how do i create that for all my sites?

Status: 
Active

Comments

Once again i solved this myself.

The solution is to copy the php.ini from /etc/php/7.3/apache2 to /home/<username>/etc/php7.3/php.ini

Then make sure you chown -R the folder to the owner.

virt should do this for you IMO

it does if you switch to that version of PHP but not until then. It should do it when a new version of PHP is detected.

delete me

Ilia's picture
Submitted by Ilia on Fri, 03/06/2020 - 15:31

Try re-running Re-Check Configuration.

As an alternative, you could always set default PHP version by using this command:

update-alternatives --set php /usr/bin/php7.2

For your information, PHP 7 removes mysql extension, leaving only mysqli, or PDO available.

Same issue for me after installing php7.4 on Ubuntu 16 (multiple PHP versions). I recheck the config within Virtualmin and I can select PHP7,4 under Server Configuration > PHP Versions and apply it. Afterwards though it won't appear under Services > PHP7.4 Configuration.. and sites don't run with it enabled. (500 Internal server..mod_fcgid: error reading data from FastCGI server).

Ilia's picture
Submitted by Ilia on Sat, 07/11/2020 - 09:44

I believe this is no longer an issue in upcoming Virtualmin 6.10. It should be coming to official Virtualmin repos this weekend.

Alternatively, GPL version can be installed from webmin.com website, usually sooner.

Ilia, just an FYI... at this moment, the GPL INSTALL.SH is version 6.1.1 and the GITHUB version is 6.2.0