Last active
August 31, 2025 22:17
-
-
Save luiseduardobraschi/fcbfab0b5c215c1685859380f100b7a6 to your computer and use it in GitHub Desktop.
Install PHP and most used libs.
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
# Fisrt, assign the version you want to install and press enter. | |
# Ex.: export version=8.3 | |
export version=VERSION | |
# Second, use the following command to install PHP and most used libs. | |
sudo apt install php${version}-common php${version}-mysql php${version}-xml php${version}-xmlrpc php${version}-curl php${version}-gd php${version}-imagick php${version}-cli php${version}-dev php${version}-imap php${version}-mbstring php${version}-opcache php${version}-soap php${version}-zip php${version}-intl -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment