reqoplabs.blogg.se

Set up a local web server mac os x
Set up a local web server mac os x











Step 1: Opet the Terminal and type in: sudo nano /etc/apache2/nf Here is how to turn on the PHP on your MacOS: PHP also goes with MacOs and in the 7.1 version if you are on the High Sierra. If you see It Works! then the Apache is up and ok. Open your Safari (or any browser) and go to localhost.

set up a local web server mac os x

User password will be requested, so you need to type in the password and then press Enter. Open the Terminal and type the following: sudo apachectl start Turn on the ApacheĪpache is already on your Mac, you just need to turn it on. Here you can read how to set your Mac in order to have a development environment for your needs. In this way, you can create a website or application and then upload it to web hosting. If you want to do a website development on your MacOS you also need to set localhost environment on your Mac.













Set up a local web server mac os x