Update lamp/lamp.md

This commit is contained in:
Ste Vaidis 2023-11-15 14:50:37 +02:00
parent ec3e326ea0
commit 819a1b92b3

View File

@ -20,14 +20,17 @@ curl localhost
### PHP
```bash
# Install
dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm
dnf module enable php:remi-7.4
dnf install php php-opcache php-gd php-curl php-mysqlnd php-mbstring php-devel
dnf install php-xml php-pear php-fpm php-mysql php-pdo php-json php-zip
dnf install php-common php-cli php-xmlrpc php-xml php-tidy php-soap php-bcmath
dnf install -y https://rpms.remirepo.net/enterprise/remi-release-9.rpm
dnf module enable php:remi-8.2
dnf install -y php
dnf install -y php-gd php-curl php-mysqlnd
dnf install -y php-devel php-xml php-pear php-mysql
dnf install -y php-json php-zip php-common php-xmlrpc
dnf install -y php-tidy php-soap php-bcmath
# Enable
systemctl status php-fpm
systemctl start php-fpm
systemctl enable php-fpm