Where is localhost mountain lion




















Can anyone offer some advice here? Is there a way that I can further trouble shoot this issue? A log that I can look at?

I really need to get this local environment back up and running and would prefer to not need to reinstall my entire OS. Any direction is greatly appreciated! Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Learn more. Asked 8 years, 8 months ago. Despite its relative lack of popularity, the presence of the full Apache Web server in OS X has been useful for testing Web development projects, or setting up a small workgroup Web server. While Apple may have removed the configuration settings for the Web server in the system preferences, the Apache server is still included in Mountain Lion and can be enabled for those who need it. The steps for enabling this include optionally configuring the server for hosting Web pages in the "Sites" folder in your home directory, and then enabling the server itself.

While you can use the global Web server folder for your sites, for convenience you can enable your home folder's site by creating an Apache user configuration file like the one created in prior versions of OS X when personal file sharing is enabled:. After this action is performed, create a folder called "Sites" in your home directory if it is not already present, and then place your Web pages within it.

Enabling the server To enable the Web server you have two options. For easier installation, you might want to grab the. DMG image than the one in.

Once the download is completed, open up the installer, you should see two. Install all three of them. Note : Do not confuse this password with your Mac login account. They are not the same. This is the password for the script to access your database. Run the commands, line by line, in the terminal:. Download PhpMyAdmin from its website. Change its permission with the command:.

You should be able to login and create database now. It will probably be easier if you install a third party tool like MAMP , but that will add duplicate features to what is already available in your Mac. With a little tinkering, you can easily get your Mac to be a web server for all your web hosting needs. By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. Damien Oh started writing tech articles since and has over 10 years of experience in the tech industry.

So I googled for Lion specifically… and found the answer. Great Tutorial! Easy to follow steps! Everything works and now i can easily test websites before even uploading! Finally figured this out. The comments by Natts and Andrey Mironov a huge help.

Thanks to all involved. I have OS First of all this is an excellent tutorial. Anyhoo…I saw this and decided to try it so that I could run Ajax scripts. Just use ServerAlias. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?

Learn more. Asked 8 years, 11 months ago. Active 8 years, 11 months ago. Viewed times. In my hosts file, I set up domain.



0コメント

  • 1000 / 1000