LAMP (software bundle): Difference between revisions
| (One intermediate revision by the same user not shown) | |||
| Line 37: | Line 37: | ||
# Install some common extensions | # Install some common extensions | ||
sudo apt install php7.4-{apcu, | sudo apt install php7.4-{apcu,bcmath,cli,common,curl,dev,gd,gmp,imagick,imap,intl,mysql,xml,xmlrpc,mbstring,opcache,redis,soap,zip} -y | ||
# Setup Apache to use php7.4-fpm | # Setup Apache to use php7.4-fpm | ||
| Line 51: | Line 51: | ||
* Always use a version when installing things if you don't want things to break when you do updates | * Always use a version when installing things if you don't want things to break when you do updates | ||
** E.g. <code>php7.4-common</code> instead of <code>php-common</code> | ** E.g. <code>php7.4-common</code> instead of <code>php-common</code> | ||
* For Ubuntu 18.04, add the following repository | |||
*:<code>sudo apt install software-properties-common && sudo add-apt-repository ppa:ondrej/php</code> | |||
sudo apt install software-properties-common | |||
sudo add-apt-repository ppa:ondrej/php | |||
</ | |||
===Installing MariaDB=== | ===Installing MariaDB=== | ||