diff --git a/chapters/install.macosx.xml b/chapters/install.macosx.xml index f24b7c4611..336e2f21c7 100644 --- a/chapters/install.macosx.xml +++ b/chapters/install.macosx.xml @@ -1,5 +1,5 @@ - + Unix/Mac OS X installs @@ -25,79 +25,108 @@ There are two slightly different versions of Mac OS X, client and server. The following is for OS X Server. - + Mac OS X server install - + + + + Get the latest distributions of Apache and PHP. + + + + Untar them, and run the configure program on Apache + like so. + - - - + + + + + + If you want the compiler to do some optimization., you may also want to + add this line: + + + + + + + + Next, go to the PHP 4 source directory and configure it. + + + + If you have any other additions (MySQL, GD, etc.), be sure to add them + here. For the string, put + in the path to your apache source directory, for example + /src/apache_1.3.12. + + + + + Type make and make install. This + will add a directory to your Apache source directory under + src/modules/php4. + + + + + Now, reconfigure Apache to build in PHP 4. + + + + You may get a message telling you that libmodphp4.a is out of date. If + so, go to the src/modules/php4 + directory inside your apache source directory and run this command: + ranlib libmodphp4.a. Then go back to the root of the + apache source directory and run the above configure + command again. That'll bring the link table up to date. Run + make and make install again. + + + + + Copy and rename the php.ini-dist file to your + bin directory from your PHP 4 + source directory: + cp php.ini-dist /usr/local/bin/php.ini + or (if your don't have a local directory) + cp php.ini-dist /usr/bin/php.ini. + + + + +