packageoreo.blogg.se

Xampp or mamp for mac
Xampp or mamp for mac




xampp or mamp for mac

# localhost is used to configure the loopback interface In the example I’m going to configure a virtual host for a site that has a root folder of /Users/steve/Sites/MySite1/ and I’ll name the virtual host local.mysite1.Įnsure you stop XAMPP’s Apache server before editing either of the files below. Smultron is free and whilst no longer under development works under 10.5.8. files and will ask for authentication if required. Sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hostsĪn alternative is to use an editor like Smultron which has an option from the File menu to Open Hidden. To edit this file you can open TextEdit with root privileges from a Terminal window like so. The /etc/hosts file is hidden and a standard or admin user doesn’t normally have write access to it. Update: A new version of MAMP (1.8) was released in September 2009.

xampp or mamp for mac xampp or mamp for mac

I’m assuming that you’ve not already added virtual hosts to the /etc/hosts file for a previous MAMP install. These are /etc/hosts, /Applications/XAMPP/xamppfiles/etc/nf and /Applications/XAMPP/xamppfiles/etc/extra/nf. With XAMPP we need to edit 3 files as opposed to only the 2 with MAMP. So, there is no alternative but to do it manually.

#Xampp or mamp for mac pro#

Unlike the Pro version of MAMP, XAMPP doesn’t have a nice GUI to allow virtual hosts to be configured easily. XAMPP provides a similar local server environment to MAMP, but configuring virtual hosts is a little different. Thinking that maybe the writing was on the wall for MAMP I started looking for an alternative and came across XAMPP. More recently I noticed that MAMP hadn’t been updated in nearly a year and their support forum resembled a wilderness. A while back I posted about configuring virtual hosts in MAMP.






Xampp or mamp for mac