Answer the question
In order to leave comments, you need to log in
How to change the php version used?
I'm trying to install phpBB, it says You are running an unsupported PHP version.
Please upgrade to PHP
7.1.3 or higher before trying to install or update to phpBB
3.3 2018 Zend Technologies
But the forum still does not install and writes that the version needs to be updated. How to be?
Answer the question
In order to leave comments, you need to log in
sudo apt remove php*
sudo apt purge php*
sudo apt autoremove
sudo apt install php7.4 php7.4-{xdebug,mysql,mbstring}
sudo systemctl restart apache2
Adding a PHP repository to install the latest version:
cd /etc/apt/sources.list.d; echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu $(lsb_release -cs) main" | sudo tee php.list > /dev/null; sudo apt-key adv --recv-keys --keyserver hkps://keyserver.ubuntu.com:443 4F4EA0AAE5267A6C; sleep 10; sudo apt update; cd
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question