Configure WordPress, mysql 8, nginx on CentOS 8

It is not easy to setup wordpress, mysql, nginx on CentOS.

Following are the uri resources I collected when I tried to setup wordpress site.


Most of the issues can be troubleshooted in nginx log. /var/log/nginx

  1. Missed Json Module

Missed to install php-json module when install the php.

2. Cannot connect to

setsebool -P httpd_can_network_connect true

4. Cannot to add or update plugins or themes, and ftp sign form popup

Add code: define('FS_METHOD', 'direct'); into wp-config.php .

3. Permalink not work, update the nginx conf file as

location / { 
    try_files $uri $uri/ /;

2 Replies to “Configure WordPress, mysql 8, nginx on CentOS 8

Leave a Reply

Your email address will not be published. Required fields are marked *