$ dnf -y install httpd php php-mysqlnd mariadb-server
$ vi /var/www/html/index.html
# /var/www/html/index.html
[Test Web Page]
https://github.com/rlatkd/TIL/blob/main/Linux/assets/Screenshot_2023-08-18_at_15.35.45.png?raw=true
$ vi /var/www/html/phpinfo.php
# /var/www/html/phpinfo.php
<? php phpinfo(); ?>
MariaDB > create database wpDB;
Query OK, 1 row affected (0.001 sec)
MariaDB > grant all on wpDB.* to wpUser@localhost identified by 'seungwon';
Query OK, 0 rows affected (0.005 sec)
$ vi /var/www/html/wordpress/wp-config.php