DEV Community

Christian Bueno
Christian Bueno

Posted on • Updated on


Help me with Themes problems in WordPress on fedora 35 Linux

I have installed WordPress in my f35 workstation following this tutorial from fedora-magazine web
That was yesterday, now today after login to the WordPress local installation, URL: localhost/wordpress/wp-admin , there is a problem charging the themes.

Image description

I have edited this file: /etc/wordpress/wp-config.php

define('DISALLOW_FILE_MODS', false);
Enter fullscreen mode Exit fullscreen mode

This fixed the problem yesterday and was able to install ASTRA theme and a template.
source: wordpress.stackexchange

But today the problem persists.

can it be permissions issue?


[root@fedora chris]# getsebool -a | grep -P "httpd.+--> on"
httpd_builtin_scripting --> on
httpd_can_network_connect_db --> on
httpd_can_sendmail --> on
httpd_enable_cgi --> on
[root@fedora chris]# ^C
[root@fedora chris]# 
Enter fullscreen mode Exit fullscreen mode
❯ ll -d /etc/wordpress /usr/share/wordpress 
drwxr-x---. 1 root apache  26 Apr 27 16:04 /etc/wordpress
drwxr-xr-x. 1 root root   480 Apr 27 01:10 /usr/share/wordpress
Enter fullscreen mode Exit fullscreen mode
[root@fedora chris]# ll /usr/share/wordpress/wp-content/
total 4
-rw-r--r--. 1 root   root  28 Jan  8  2012 index.php
drwxrwsr-x. 1 apache ftp  264 Apr 27 03:18 plugins
drwxrwsr-x. 1 apache ftp  112 Apr 27 03:11 themes
drwxrwsr-x. 1 apache ftp    0 Apr 27 03:18 upgrade
drwxrwsr-x. 1 apache ftp  612 Apr 27 03:31 uploads
[root@fedora chris]#
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Advice For Junior Developers

Advice from a career of 15+ years for new and beginner developers just getting started on their journey.