LAMP Install[edit]
- Need PHP 8.2, MariaDB 10.11.0
dnf install httpd
dnf install mod_ssl
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
AddType application/x-httpd-php .php .php4
AddType application/x-httpd-php-source .phps .php4s
MariaDB[edit]
dnf module install mariadb
systemctl start mariadb
ps ax|grep mariadb
mariadb-admin -u root password *****
mariadb -u root -p
Enter password:
MariaDB [(none)]>
PHP v8.3[edit]
dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm
dnf module list | grep php
dnf module reset php
dnf module install php:remi-8.3
php --version
dnf install php-mysqlnd
dnf install libsodium libsodium-devel