llkabath.blogg.se

Start local web server mac
Start local web server mac





You will need to enter your administrator password to change the ports to these more standard ports, but after that is done, you can reach the content directly via localhost.A web site located on a local computer is accessed in a browser through the URL localhost and normally served by a local Apache server. If somehow localhost:8888 is a bit obscure a URL for you to use, then just open up MAMP’s preferences and set the ports to the default Apache/MySQL ports of.Or if you wanted to create a new file/folder just add that in there and it’s accessible as being served via a web server.So if you adjust or add an index.html or index.php file, that will be the new main file you get when you go to localhost:8888. Now if you head over to this path /Applications/MAMP/htdocs, any document you place in there will be accessible via localhost:8888.Once started it will create an Apache web server on localhost:8888.And if all you want to do is serve a simple page via localhost, just do this: So basically you just download MAMP and it is installed like any other application, but it will allow you to create a Mac equivalent of a LAMP stack (Linux Apache MySQL PHP) on your desktop. MAMP does not modify any of the "normal" system). PHP and MySQL without starting a script or having to change anyĬonfiguration files! Furthermore, if MAMP is no longer needed, justĭelete the MAMP folder and everything returns to its original state Installation already running on your system. MAMP will not compromise any existing Apache Like similar packagesįrom the Windows- and Linux-world, MAMP comes free of charge, and isĮasily installed. Your Mac OS X computer, be it MacBook or iMac. MAMP installs a local server environment in a matter of seconds on The non-Pro version of MAMP is 100% free and works great for basic usage like this:

start local web server mac start local web server mac start local web server mac

But to me, the simplest way-conceptually and visually-is via a graphical user interface like what MAMP offers. There are a lot of different ways to do this in Mac OS X.







Start local web server mac