Using WAMP to test locally

Tagged: , , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #136558
    Travis
    Participant

    Updraft Community,

    I’ve installed WAMP on my Windows 7 PC so I can test on my site locally. I am hoping somebody here is familiar with ‘WAMP Server’ and can help me setting my site to it using Updraft Plus Premium.

    Everything is in the green with the server connection (WAMP is all setup), and I just downloaded my site through ‘Existing Backups’ > ‘Download to your computer’ > put unzipped files in ‘www directory’ file on WAMP Server > on browswer I typed in ‘localhost/mysite’ and all I read is code for my site (If directions aren’t clear enough I’ll elaborate).

    So is there something I’m missing? Do I have it configured wrong? Missing a file. I would appreciate any advice I can get from you guys.

    Thanks,
    Travis

    #136594
    udadmin
    Keymaster

    Hi Travis,

    all I read is code for my site (If directions aren’t clear enough I’ll elaborate).

    That sounds like WAMP isn’t set up to process PHP. You’re saying that this is something that changed after restore? In that case, it sounds like WAMP is set up with its PHP configuration in a local configuration file that is part of the website(.htaccess or php.ini). That’s not a good idea, because that gets replaced upon restoring a different website backup (as in this case).

    I’ve not used WAMP, so don’t know how to configure it to put the PHP configuration globally, instead of locally (and a quick Google didn’t enlighten me). As a work-around, you could avoid restoring WordPress core (which is only very rarely needed), and this will then not touch the root directory in which WAMP is apparently storing its configuration files. If you set up a fresh WAMP WordPress site, and look at .htaccess and php.ini (both may not exist), and see what’s in there, that’ll also show what lines have been removed and need adding back to re-activate PHP (though, it’d be better ultimately, as I say, not to have PHP activation stored as part of the website like that).

    David

    #136832
    Travis
    Participant

    David,

    Thanks for getting back to me. I had WordPress 4.3.1 downloaded and it worked fine, but that’s all it was WordPress as an empty shell, no themes and none of pluygins or settings. I thought once I downloaded my site and just put it in the WordPress file, it would just come up. Maybe I missed something or I’m doing something wrong.

    Just so you know PHP is definitely actived on WAMP. It means: Windows. Apache. MySQL. PHP. (WAMP) It’s how many developers test locally. If you do happen to come across something let me know.

    Regards,
    Travis

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Using WAMP to test locally’ is closed to new replies.