PHP7.4-MySQL removed automatically after system updates
Hi all,
This is a fresh system (05 Feb 2021) with
Operating system Ubuntu Linux 20.04.2
Webmin version 1.962 Usermin version 1.812 Virtualmin version 6.14
Kernel and CPU Linux 5.4.0-65-generic on x86_64
Webmin installed MySQL & PHP 7.4
I then enabled multiple PHP versions using
exe 'add-apt-repository -y ppa:ondrej/php' add-apt-repository -y ppa:ondrej/php
exe 'apt-get update' apt-get update
By 22:44 I finished configuring the server.
I then installed Wordpress and made sure it was functioning properly.
The system has automatic updates enabled in /etc/apt/
So at 23:00 PHP 8.0 got installed automatically - I got this in /var/log/
Start-Date: 2021-02-05 23:00:50
Commandline: apt-get -y install php php-cgi php-cli php-fpm php-mbstring php-mysql php-xml
Install: php8.0-
Upgrade: php-xml:amd64 (2:7.4+75, 2:8.0+80~
End-Date: 2021-02-05 23:01:27
Wordpress was still functional at this point.
The next day I get this in /var/log/
Start-Date: 2021-02-06 06:50:14
Commandline: /usr/bin/
Remove: php7.4-mysql:amd64 (7.4.14-
End-Date: 2021-02-06 06:50:16
So today I go to check Wordpress and of course it is not working because there is no php7.4-mysql
When I switch PHP to version 8.0 it works fine.
Why is this happening and how do I avoid it happening again?
Thanks in advance for your help.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Aristotelis Joannou for more information if necessary.