Retrieve files after xampp uninstalled - xampp

I have uninstalled Xampp in my system. I have taken a backup of databases, but I missed to take folders inside htdocs. Is there any way to retrieve my folders.

Probably not; if the folders are gone then I would say your only hope is restoring from backup or an undelete utility.
Sorry for the bad news.

download shadowexplorer. Its is a system restore software that will find shadow copies on the system or specified folder through selected restore date. It is really easy to use.

Windows File Recovery CLI undelete utility. Currently available for Windows 10 2004 and above.
https://www.microsoft.com/en-za/p/windows-file-recovery/9n26s50ln705

I once accidently deleted my htdocs folder along with xampp, i immediately downloaded shadowexplorer and ran it, found all my files.

Related

MAMP upgrades generating new folders in Applications

I've got an issue where if I upgrade MAMP, it generates a new folder in my Applications folder. So far this has occurred three times now and I'm no closer to finding out why it's happening.
Here's a screenshot of the Finder window showing all MAMP folders. The ones that got created after updating MAMP all have the dates and times they were created.
I've tried deleting the new folders and leaving the original one but that prevents MAMP from opening ("These files are in the trash") but the path for the document root still points to the original folder. Here's a screenshot of that:
Can anyone advise on how best to remove these duplicates and prevent this from happening again? Each duplicated folder adds at least 10GB to my storage and I'm running low! I can't find any reference to this in MAMP's documentation, or even on this site.
Any ideas?
Thanks!
As Peter pointed out that is normal behaviour. The folders containing dates (MAMP_2018-0....) are the backups of the previous installations/versions. The following named folders always contain the latest updated installation files:
MAMP
MAMP Pro
It is advisable NOT to store development sites in the MAMP/htdocs directory. It is advisable to set the Document Root to a separate development directory (not within the MAMP program folder) e.g. DevServer under My Docs.
Before MAMP/MAMP Pro is upgraded record the preference settings. Next upgrade the software and recheck the settings match after the upgrade. Then launch and check your development website(s).
I've experienced this when upgrading in the past. I believe this is normal behaviour.
I have just gotten into the habit of deleting the old ones and haven't had any problems.

Very slow file transfer rate when copying files to htdocs

I recently installed XAMPP on my mac. I am trying to copy the files from Desktop folder to htdocs folder.
The folder I m trying to copy is about 5 MB. But it's taking very long time in copying the files. Also I am observing a lag while trying to edit the files on this folder.
You can see the clock symbol on billingnew folder.
How can I solve this problem ?
Edit : The solution is to download the correct version of xampp. I had downloaded the VM version.
I have the same problem on my iMac. I could not find a solution to this problem. There is a workaround to bypass this huge delays. Comprise the all files to a zip or rar and in addition copy it to the htdocs folder. Somehow it is not that horrible if you just copy one single file.
Hopefully this bypass can improve your workflow.
People also discussed this problem in this thread
Otherwise I would use the normal XAMPP-Version. On the official website you can choose the vm version or the non vm version. Download area for XAMPP

Mercurial (hg) can't access file ='FRX'

On my home laptop with Windows 7 x64 (NTFS) some of mercurial repositories become stuck after unknown reason. The problem is when I try to run hg log or hg diff:
Can't access file
D:\user\my-hg-repo-root-path\='FRX'
In same time, icoming, pull, update, push, add, commit work well.
So, last several days i live without history or diff preview on the home laptop.
I've not found any reason for such a problem, as same as what FRX means. Do you know the reason of this problem?
PagerExtension?
That's where this ='FRX' might be coming from. Look at your ~/.hgrc.
It looks like this is a file that has been created by some windows application (from http://www.file-extension.com/files/FRX/: "As a binary form file, the FRX file extension can be found working with Visual Basic.") probably during an execution of VB programs, and it could be possible that you do not have the read rights on this file.
If this file is not important for you, I'd suggest to remove it from the working directory, maybe using admin rights.

Can I have XAMPP on localhost with web content hosted on Dropbox?

I'm thinking of hosting WordPress on my Dropbox folder for development work. Has anyone tried this?
I'm wondering if there's a way to keep XAMPP on your local machine but direct the root to the Dropbox folder.
First of all, both WordPress and XAMPP produces a lot of garbage files (logs, PIDs, configs, sessions) etc. that will simply trashout your Dropbox. I'm pretty sure about that, because I tried to version XAMPP on SVN, which is pretty the same as SVN, and got really tired on searching more and more folders that should be ignored (non-versioned) because of containing data and other temp files.
And for answering your question. Sure thing, you can. After installing XAMPP (preferably outside Dropbox), go to "xampp\apache\conf" folder, edit "httpd.conf" file and change the value "DocumentRoot" variable (around line 90) to whatever you need. You may need to use ".." for specifying parent folder many times, if your Dropbox is outside XAMPP folder.
I won't discuss security matters here, as you should know, that such solution is highly risky and on the other side of security topics.

What needs to go in order to fully remove a MAMP install from OSX?

For reasons that we won't discuss, I have determined that MAMP is a pile of crap that haunts my system, and unless I remove it fully, I will live in shame.
I've done the obvious thing and removed the MAMP directory from my Applications folder, however, I don't like wandering files, and I have an itching feeling that MAMP put some .sock files somewhere, or otherwise made a mess in my file system.
What files does MAMP add to a system when it's installed, and where are they?
If you have proof that MAMP doesn't actually put files anywhere (besides the /MAMP dir), then that's as good an answer as any!
From their help page:
To "uninstall" MAMP, you only have to
delete the MAMP directory and
everything returns to the original
state (MAMP does not alter anything on
the "normal" OS X).
When you download MAMP, you get a MAMP Pro trial, also. In the MAMP Pro folder, there is an 'uninstaller'. When you open the uninstaller, it asks you if you would like to remove all traces (preferences, etc.)
When I used it, it appeared to delete absolutely everything for MAMP and MAMP Pro.
MAMP does alter one system file: /etc/hosts (it adds any virtual hosts you may have created under the "hosts" tab here).
You may want to delete those entries.
To do so, go to Finder, select "Go"-"Folder" from the menu, and enter "/etc". Then you need to temporarily change permissions on both the host file and the directory it's in, by right clicking and chosing "Get info" and changing the permissions.
You can then edit the hosts file in Textedit.
After you're done, you should put the permissions back to what they were to be on the safe side.
AppZapper is a great tool that solves this problem. Search Google for it, it's free for the first 5 time you use it.
To fully uninstall any application. Try installing AppTrap. + it's free
Each time you move an application to Trash, AppTrap would find the preference files in your library and let you delete them as well.

Resources