1. Computing & Technology

Discuss in my forum

How to Install PHP on a Mac

By , About.com Guide

See More About:

1 of 4

Enable Apache on OS X
Before you can enable PHP on a Mac, you first have to enable Apache. Fortunately this is extremely easy. If you would like more information about Apache on the Mac you can read more here.

1.) Click the 'System Preferences' icon in the Dock.

2.) Click the 'Sharing' icon in the Internet & Network section of the System Preferences window.

3.) Place a check mark in the ‘Web Sharing’ box.

That's it! If you want to test if it worked, point your browser to http://localhost/ and you should see the standard Apache test page.

©2012 About.com. All rights reserved.

A part of The New York Times Company.