php - How to get wordpress post If I uninstall wamp
Get the solution ↓↓↓I installed windows 10 in my system without taking backup of wamp. But I get my wamp old files in Windows.old folder. Is there any way to get my wordpress posts and other files?
Answer
Solution:
If the Windows install kept all of the WAMP folder intact and you can copy it back to the same drive (C: I assume) that it was originally installed on, then YES, probably.
Install the MSVC Runtimes
First step is to make sure you have ALL the MSVC Runtime libraries installed. In reality you probably dont need then all, but it is simpler to put them all there (they are used by other software as well) than trying to add the specific ones you need.
The simplest way to do this is to go to the WAMPServer backup repo and download the ZIP file containing all the MSVC Runtimes. The link is right at the bottom of the page and is called
All VC Redistribuable Packages (x86_x64) (32 & 64bits)
Extract that somewhere and install both the 32bit and 64bit runtimes ONE AT A TIME in logical version number order, oldest version first.
Reinstate the old files
Copy the complete wamp folder and all sub folders from Windows.old to C:\ (or whereever it was originally installed).
Reinstall the Apache and MySQL Services
Now run the\wamp64\wampmanager.exe
and then use the wampmanager menu in the System tray to do
- left click -> Apache -> Service Adminitration -> Install Service
- left click -> MySQL -> Service Adminitration -> Install Service
If you also want mariaDB
- left click -> MySQL -> Service Adminitration -> Install Service
This should put everything back as it was before.
You may also need to check you HOSTS fileC:\windows\system32\drivers\etc\hosts
to make sure localhost is not commented (Windows10 does that for some reason).
If you have any Virtual Hosts defined, they will also need to be added here again
Minimum default content though should be
127.0.0.1 localhost
::1 localhost
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: object of class stdclass could not be converted to string
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.