Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter harryofbath

    (@harryofbath)

    Dear Ross, Thanks for the reply.
    Firstly, from what I have read trying to fix this, in Fedora, wordpress installs itself into /usr/share/wordpress, and configures apache to alias ./wordpress to /usr/share/wordpress. I tried moving it at one point but I read somewhere else that it should remain where it is (I don’t have a link for it though). I have used chown to set the ownership of the the whole /usr/share/wordpress/ to apache:apache (the group and user apache use on fedora) and I have also made sure that all the files contained are correctly flagged by SELinux, which does not change the output from the “Site Health”, or the auto-updater. Secondly, I have to wonder why wordpress would install PHPMailer there in the first place, as it was there (as the error was) from install. I will try tomorrow to move it to the plugins folder, but I am unsure as how that would change the permissions wordpress has. Finally, while I agree that it I can be much more thorough manually updating, I would still prefer that the built-in feature would atleast work like it does on other machines. I feel like I shot myself in the foot by going with Fedora instead of a Debian based distro, but Fedora is what I am most used to, and in all other functions that it is supplying, it succeeds.

    If you are still having trouble, I can tell you what worked for me.
    First, I changed the site url to my base url, so from example.com/wordpress to example.com.
    Then, I moved the index.php file from /usr/share/wordpress to the root dir of the apache website, which on Fedora, defaults to /var/www/html.
    Then, in /etc/httpd/conf/httpd.conf, I changed this:`<IfModule dir_module>
    DirectoryIndex index.html
    </IfModule>`
    To this: `<IfModule dir_module>
    DirectoryIndex index.php
    </IfModule>`, that way it loads the .php instead of a fictional .html
    Then: systemctl restart httpd and it should work. (Maybe, worked for me)

Viewing 2 replies - 1 through 2 (of 2 total)