Installing PHP on Mac OS X with Apache

Mac OS X, which I cannot be more fond of, is an ideal operating system for today's Web developer. It merges the simplicity and beauty of the Macintosh interface with the stability and power of a Unix foundation. For the Mac users looking for a hassle-free operating system, OS X still fills the bill. For more advanced users who want a computer that can hold its own for development, OS X is now a viable alternative. But enough glorification of the operating system. I'll get down to the nitty-gritty.

First I should point out that OS X comes with Apache as the default Web server. The Web sharing option in the Sharing control panel (Figure A.20) actually starts and stops Apache. Unless you really feel the need ...

Get PHP Advanced for the World Wide Web: Visual QuickPro Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.