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.