Last active
February 20, 2020 22:17
-
-
Save Stafox/0fff60615a100b92bdd73c21802adb20 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 PHP 7.2 install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo add-apt-repository -y ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install -y php7.2-fpm | |
sudo apt-get install -y php7.2 | |
sudo apt-get -y install curl php7.2-pgsql php7.2-curl php7.2-json php7.2-mbstring php7.2-gd php7.2-intl php7.2-xml php7.2-imagick php7.2-redis php7.2-zip | |
# sudo systemctl disable apache2 |
Update 02.20 - I was incorrect. Please close / ignore this issue. The server I was on was 14.04 vs 16.04. Pardon my mistake.
All was well until gd and imagick.
E: Couldn't find any package by regex 'php7.2-gd'
E: Couldn't find any package by regex 'php7.2-imagick'
have added ondrej/apache2 to apt repositories. No Joy.
Have worked through other howtos - No Joy.
getting gd or imagick php or apache2 mods installed for 16.04 seems no longer to work like this
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mumairofficial sudo apt-get -y install dirmngr