Where to place the project folder for MAMP PRO - macos

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

Related

Moving XAMPP folder to new computer

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.

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.

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.

Aptana crashes on windows 7 until .metadata folder is deleted

I have used Eclipse and Apatana for years on Linux, but have recently switched to Windows 7 in order to be compatible with my business partners. I have installed the 'Aptana Studio 3.4.0 Microsoft Windows, x86' standalone version of Aptana, and after install it runs great until I close it. When I try to re-open it, it hangs ('not responding' message) and I have not found any way to resolve the issue other than deleting the .metadata directory in my aptana workspace, which of course deletes all my project references, deployment settings, and any other tweaks I've made to the app, and setting this back up every time I restart the app is a waste of my time. Can anyone identify the problem? I have a pastebin of my log at:
http://pastebin.com/2J0AWTNR
Any help would be greatly appreciated!
instead of deleting the whole .metadata, you can try to delete the .markers file for any open project:
in this folder:
...\.metadata\.plugins\org.eclipse.core.resources\.projects\[myProject]
Delete (if it exists), then add an empty .metadata folder inside your project directory.
I had the same problem on Windows 7, Aptana hanging for eternity on startup.
Following posts like this one I looked for the .metadata folder inside the project directory but didn't see any there.
I tried creating an empty .metadata folder in the project directory, and Aptana started up.
Have had the same problem and I've reinstalled which makes no difference. So I deleted the .metadata/.plugins/org.eclipse.core.resources/.projects folder and it fixed it and with no settings/data etc loss amazingly :-)
I used this fix at first and then ran into more problems after a while. The sidebars and other objects in the program were not working and as a result the program just stopped responding. I have finally found a fix here http://youtu.be/RYobTLq_hms?list=UUtL_0WLPWmHZE_HcX48F96w and I hope that this helps for all! We can finally get back to work!
I wouldn't call the following a fix, but it helped me so here it goes:
My Aptana didn't start. It would just hang and when you click anywhere in the blank screen Windows would say the program isn't responding...
This is what "fixed" it for me:
Navigate to: C:\Users\YOURNAME\Aptana Studio 3 Workspace\
Create a new dir and move the ".metadata" dir into it.
Start Aptana
Aptana will run now, but all your projects will be gone.
Remove the new ".metadata" directory that Aptana just created at startup.
Move the ".metadata" folder out of the one you just created, back to its
original location.
Now run Aptana again.
This fixed my problem.

Resources