Last active
February 11, 2025 02:09
-
-
Save magarrent/b4e07e84ec8040828fa7841e889e9bca to your computer and use it in GitHub Desktop.
Install PHP 8.2 with Extensions for LEMP in Ubuntu 22. (Used for Laravel, but you may need for almost all other php frameworks)
This file contains 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
add-apt-repository ppa:ondrej/php | |
sudo apt-get install php8.2 php8.2-fpm php8.2-mysql php8.2-cli php8.2-common php8.2-imap php8.2-redis php8.2-snmp php8.2-xml php8.2-zip php8.2-mbstring php8.2-curl php8.2-gd php8.2-soap php8.2-bcmath php8.2-intl redis | |
curl -sS https://getcomposer.org/installer -o composer-setup.php | |
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment