• Hopefully someone else has also experienced this before…

    I was using XAMPP awhile back in the beginning, but I would often forget to stop it and eventually MySQL stopped turning on. So that’s when I switched over to MAMP to work on some WordPress sites on localhost, but recently whenever I would use MAMP to try and access anything under localhost I just get “This webpage is not available” (I’m using chrome but it’s not working in any other browser either). So I resorted back to XAMPP, uninstalled and reinstalled it, at first it was great – localhost was taking me to the XAMPP homepage, I could access phpMyAdmin fine and see all my databases (unlike MAMP). But when I tried to access any of my WordPress sites under localhost it just takes me to the install.php page (for example when I would try https://localhost/wordpress it would automatically take me to https://localhost/wordpress/wp-admin/install.php) requesting for a “Site Title” and “Email” and the “Install WordPress” button at the bottom. Thanks in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey waynesworld604,

    Do you have file wp-config.php in the root directory?
    Maybe the name was changed for some reason.

    Also you could check the files permissions, as XAMPP might not be able to read the files.

    Right click on the wp-config.php file to check them.

    Also do you have some PHP errors in your error.log?

    Thanks,
    Ivan

    Thread Starter waynesworld604

    (@waynesworld604)

    So I verified that the wp-config.php file was indeed in the root folder, permissions for it are for read & write as well. How do I go about checking the error.log? It’s been awhile since I tried to tackle WordPress. Also, I think this problem started happening after I upgraded to Yosemite on the Mac I believe…before that all the localhost WordPress files I had was working fine.

    Gracias!

    Hey waynesworld604,

    Sorry for the delay.

    It seems that this is an issue with the Yosemite release.

    There is a lot of threads over the internet complaining about problems with XAMPP and Yosemite.

    Long story short, at the end most of the problems are solved by reinstalling XAMPP.

    Please refer to this post for fix – https://stackoverflow.com/questions/26593238/xampp-mysql-server-not-starting/26599454#26599454

    It seems version 1.8.3-5 of XAMPP is working fine with Yosemite.
    Which version do you have?

    Thanks,
    Ivan

    Thread Starter waynesworld604

    (@waynesworld604)

    No worries! I did attempt to re-install XAMPP at the time actually. I had a live copy hosted on my server so I recently just started working off that instead of localhost. However I did begin a new wordpress site on localhost recently and everything has been going fine – just all the previous wordpress sites I had on localhost aren’t able to be accessed now and takes me to the install.php page. Currently I’m running XAMPP 5.6.3 with Yosemite 10.10.1.

    Gracias!

    Hi waynesworld604,

    I don’t really have Yosemite or MacOS to try replicate this.

    I have in mind two things that might help you.

    1st. Compare the file and folder ownership and permissions from your old site to the new one. And if there is some difference, change it the way the new ones are.

    2nd Just copy you old projects and their databases to new ones and then delete them.

    Unfortunately I don’t have any other ideas, so I don’t think I can be much of a help. So it will be great if someone with the same problem share his experience.

    Thanks,
    Ivan

    Thread Starter waynesworld604

    (@waynesworld604)

    No worries! The old files werent all that important anyways but i’ll check over all the things you listed again. Appreciate the time and support!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Localhost site taking me to install.php page’ is closed to new replies.