Moving XAMPP folder to new computer - xampp

What are the most important files on Xampp folder that I need to copy from my old my Macbook pro to the new one. I'm confuse, cuz I backed up the whole Xammp file to my Icloud (bad& stupid idea i know) and I downloaded to the new mac. It's not working at all. It showed errors when I ran it or not complete project. I just need to know what folders on xampp file should I get if I wanted to past them to the new Xampp file?
thank u
I coied the whole xampp folder and pasted to new one.

Related

Where to place the project folder for MAMP PRO

I used to just use MAMP and there I had to place the project in the htdocs folder, but now I switched to MAMP PRO and I can't figure out which folder to throw my project into or is there no difference?
You can put your site wherever you want.
But recommended is under Users/yourUsername/Sites/yourFolderName
Dokumentation

Why doesn't XAMPP work when it's not in the root of a partition?

I've been having an issue lately. My XAMPP folder used to be on C:, right at the very top, but I want the XAMPP folder to be located somewhere else. The problem is, if I do that, I can't start up Apache or MySQL. It works completely fine as long as XAMPP is at C:/xampp/, but as soon as I move it anywhere else that is not at the very top of the given partition, it no longer works. The error log is also not very helpful.
The version I'm using is 7.4.6 on Windows, specifically the portable version (xampp-portable-windows-x64-7.4.6-0-VC15). Is this some sort of quirk from the portable version? Or do I need to change some settings to make it work on other folders?
The same thing happens when I installed XAMPP in ubuntu 20.04, the solution to this issue is by creating a symbolic link to connect the root directory C:/xampp/ with a target directory you choose or create.
Here is a useful link to create symbolic links in Windows.
symbolic_links_windows

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

Reinstalled XAMPP, with deleting htdocs. And old web page shows up at localhost

I would like to work on a new project and i have reinstalled XAMPP.
I have tried to make sure i have deleted the whole XAMPP folder, including htdocs (where all the files where). Now when i go to localhost it shows my old project. None of the files from the old project are in 'htdocs' but it still shows up.
I did use htaccess in my old project, this is the only thing i think could be causing this.
I am not sure where it is getting the files from the old project from.
Thanks
The old site was just cached, by clearing my cache, it is now working properly.

Resources