|
|
 |
章 5. Installation on Mac OS X
This section contains notes and hints specific to installing
PHP on Mac OS X. There are two slightly different versions of
Mac OS X, Client and Server, our manual deals with installing
PHP on both systems. Note that PHP is not available for MacOS
9 and earlier versions.
There are a few pre-packaged and pre-compiled versions of PHP for
Mac OS X. This can help in setting up a standard
configuration, but if you need to have a different set of features
(such as a secure server, or a different database driver), you may
need to build PHP and/or your web server yourself. If you are unfamiliar
with building and compiling your own software, it's worth
checking whether somebody has already built a packaged
version of PHP with the features you need.
add a note
User Contributed Notes
Installation on Mac OS X
oster at ieee dot org
31-Jul-2001 03:17
If you've got Mac OS X pre-installed on your Mac, you've also got php4
pre-installed. You don't need to download or compile anything. You just
need to edit the /etc/httpd/httpd.conf file. Use the "sudo open -a
TextEdit..." command line, above. Search for "php", and make
sure you've un-commented _all_ the relevant lines: the two AddType lines
above, and also the AddModule and LoadModule lines. (but not the AddType
lines for php3, since you'll be using php4.) Save and restart Apache with
"sudo apachectl graceful", and you are done.
| |