Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sepu

macrumors regular
Original poster
Hey guys this is a really quick question ....
Can anyone point me out to any tutorials or anything that tell you how to install a web server. Can you recommend any specif ?
I've have web server but is on my PC I used Wamp5 that brings all included.


Thanks.
 
OS X has Apache built-in. You don't need to install anything if you want to serve plain HTML pages.

There are two places to do this:
The first will be accessed via http://localhost/
Code:
/Library/WebServer/Documents/
or from http://localhost/~username/
Code:
~/Sites/

in order to use the second, you must turn on personal web sharing in the system preferences sharing dialog.
 
Thanks for the quick response ....

didnt know that ... I will be dealing with PHP and Ruby on rails, MySQL, etc ... Im bringing all my development from my PC to my Mac .... so would I be able to run all that with this APache built on my Mac ? Do I need any extras ?

Thanks.
 
hey SC68Cal .... you said "PHP is included with the Apache server on OS X, built in. You just need to enable it."

where do I enabled it ?

Thanks.
 
^^That's why mamp. True, you already have all of these things installed on a mac SC68Cal, but it's easier to just install something like mamp if you're not comfortable with terminal. BTW OP, here are the instructions for enabling php on osx.
 
if you're not comfortable with terminal


Get comfortable with it, this is a UNIX-like operating system. It is to your advantage.

You can paper-over MySQL and PHP with GUIs up to a
certain point.

Anyone worth their salt should know how to use terminal and also know how to code raw SQL queries, as well as PHP.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.