O'Reilly logo

PHP for Teens by Maneesh Sethi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing PHP on Macs

Installing PHP on Macs takes a lot of checking and writing, because you need to compile the program for your specific hardware. Fortunately, Apache is already installed on Macs, so it saves you a little trouble. In addition, an online PHP module may be faster than the manual way I teach. You can find this module at www.entropy.ch/software/macosx/php. My recommended steps for a manual installation show you how to configure PHP on a Mac OS X (taken mostly from www.php.net). This tutorial uses Apache 1.3 and PHP 4.

  1. Go to www.php.net and download the latest distributions of Apache and PHP.

    Make sure you get the Mac binaries or the source.

  2. Extract the files into their own directories and run the configure statement through your ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required