Last active
April 22, 2023 04:17
-
-
Save washopilot/165399139a97598d280fce89b83a64c9 to your computer and use it in GitHub Desktop.
php 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
UBUNTU | |
sudo apt install php8.1 php8.1-curl php8.1-gd php8.1-intl php8.1-mbstring php8.1-mysql php8.1-opcache php8.1-sqlite3 php8.1-xml php8.1-zip | |
sudo apt install php7.4 php7.4-curl php7.4-gd php7.4-intl php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-sqlite3 php7.4-xml php7.4-zip | |
FEDORA | |
sudo dnf -y update | |
sudo dnf -y install https://rpms.remirepo.net/fedora/remi-release-36.rpm | |
sudo dnf config-manager --set-enabled remi | |
sudo dnf module reset php | |
sudo dnf module install php:remi-7.4 | |
sudo dnf install php php-curl php-gd php-intl php-mbstring php-mysql php-opcache php-sqlite3 php-xml php-zip php-process php-gmp | |
MANJARO | |
sudo pacman -Syu | |
sudo pacman -S php | |
sudo pacman -Sy php-gd php-intl php-sqlite | |
yay -S php74 php74-cgi php74-cli php74-ctype php74-curl php74-dom php74-embed php74-exif php74-fileinfo php74-gd php74-intl php74-json php74-mbstring php74-mysql php74-opcache php74-openssl php74-pdo php74-phar php74-posix php74-simplexml php74-tokenizer php74-zip php74-sqlite | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment