CodeIgniter Forums
New to Mac question - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: New to Mac question (/showthread.php?tid=12602)



New to Mac question - El Forum - 10-24-2008

[eluser]bennyhill[/eluser]
Just moved to mac and got mamp install. I copied my files over to htdocs and tried to run. How do I handle the fact that http://localhost/ is now http://localhost:8888/. Do I change something in the config file or do I have to use a .htaccess file? I really like mac but having to put:8888 seems like a pointless inconvenience

Any suggestions


New to Mac question - El Forum - 10-25-2008

[eluser]textnotspeech[/eluser]
That's because Mac's come with apache2(Leopard) installed by default. If you turn on web sharing, you can navigate to MacHD/Library/Webserver/Documents/ (http://localhost) and see your server root. If you're familiar with any *nix environment you will be right at home with a Mac. Mamp is a lot less necessary on a mac because it's very easy to set up a development environment. Download the PHP package for Leopard or for Tiger, and simply click and run. Then you can pick up the MySQL package for your Mac OS. Click and run and your all set.


New to Mac question - El Forum - 10-25-2008

[eluser]Adam Griffiths[/eluser]
If you hit preferences on MAMP then you can change the apache port to 80, then it will just be localhost.


New to Mac question - El Forum - 10-25-2008

[eluser]bennyhill[/eluser]
worked great thanks!