• I wanted to install on my Linux host (for convenience) so followed the Xampp plus WordPress install instructions to the letter, but it screwed up again.
    The install looks correct, localhost pulls the Apache page, Localhost phpmyadmin allows me to set a database, but when I try accessing any plugins, or ‘go to site’ from the dashboard I get either an Apache page of the FTP login start point.
    I’m lost, can anyone tell me where it went wrong?
    Thank you, in advance for the best support forum I’ve found.

Viewing 7 replies - 1 through 7 (of 7 total)
  • It could be a permissions issue, which happens a lot in Linux. (At least until you get used to how Linux handles permissions, that is.) If you know about Linux permissions, check to see that your WordPress folder has the correct permissions.

    Check your Apache access logs (google this if you are new to it) to see what kind of errors are showing up there. You can learn a lot from reading error logs—sometimes. I say sometimes because the error messages can be a bit cryptic. If you see something you don’t understand, you can google it or post it here and we’ll give you a hand.

    Thread Starter beeman37

    (@beeman37)

    I believe I’ve had this problem once before, gave up on Linux and moved it all to Win 7. But now I would like to sort this matter out, so would request more info.
    I have checked the permissions and they look correct but am unsure on that point. I fail to understand what would change the permissions on the whole install?
    All I did was to download the program files, unzip, then copy and paste into the htdocs folder.

    @sv2017:

    Per the forum rules, please do not hijack another’s thread. Please post your own thread.

    @beeman37:

    All I did was to download the program files, unzip, then copy and paste into the htdocs folder.

    Linux permissions are weird until you get used to them. Is the htdocs folder in your home folder? Or is it located somewhere above it?

    Keep in mind that you are a different user than the one that is running Apache, which can create issues, because you may not own the htdocs folder. Take a look at this post to see if that helps.

    • This reply was modified 7 years, 10 months ago by kjodle.
    Thread Starter beeman37

    (@beeman37)

    Thanks for that kjodle, problem is with Xampp the files are all sorted in ./opt/lampp so the issues with var/www/html don’t apply, and the htdocs files are below that.

    Silly question > Are the WP files in the root folder or in its own folder?

    Thread Starter beeman37

    (@beeman37)

    Not a ‘silly’ question at all, if it supplies an answer.
    I’m unsure, here is the url. /opt/lampp/htdocs/wp-admin. that’s in Linux.
    But the links are different in Windows as follows. /var/www/html/wp-admin.

    Back to linux.
    There is a /var at the bottom of the lampp directory. So I’m wondering if it should be /opt/lampp/var/www/html/wp-admin
    What do you think?
    I’ve just drilled down and find under the /var mysql/perl/proftpd/run then drilling down even further I find phpmyadmin. wp_ Do you think I should try loading in /var/www/html? Sounds logical to me!

    Thread Starter beeman37

    (@beeman37)

    Tried that didn’t work. Finally found a method of checking permissions and they can’t be right as they all show read and write, but the ‘group’ is read only.
    So how come the permissions on the whole WordPress file were changed over, surely they were not downloaded as such, but after ‘unzipped’ they are.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Localhost/linux install.’ is closed to new replies.