05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

396<br />

CHAPTER 22 LEOPARD AS A WEB SERVER<br />

Figure 22-8. MySQL’s graphical database administration tool<br />

PHP and MySQL are expected to run together, so once you have MySQL running, PHP will<br />

notice immediately. Reloading your PHP Info page will confirm this. Beyond that, accessing<br />

MySQL in PHP, setting up user accounts in MySQL, and the sometimes maddening, sometimes<br />

magical world of database programming are beyond the scope of this book. Fortunately, there is<br />

no end of online resources, and there are several excellent books, including Beginning PHP and<br />

MySQL 5, by W. Jason Gilmore (Apress, 2006), PHP and MySQL Web Development, by Luke<br />

Welling and Laura Thomson (Sams, 2003), and MySQL, by Paul DuBois (Sams, 2005).<br />

PostgreSQL<br />

While SQLite concentrates on pure performance, and MySQL maintains a good mix of performance<br />

and added support for advanced features, PostgreSQL has always been conceived as an<br />

enterprise-level solution. It has the most advanced features (e.g., stored procedures), but is still<br />

free open source software.<br />

As it is intended for experts, PostgreSQL lacks the hand-holding niceties of MySQL. Fortunately,<br />

Mark Liyanage maintains a <strong>Mac</strong> <strong>OS</strong> X installer package of PostgreSQL at www.entropy.ch/.<br />

For more information on PostgreSQL, visit its official home page at www.postgresql.org/.<br />

Apple also has a page about PostgreSQL at http://developer.apple.com/internet/<br />

opensource/postgres.html.<br />

NOTE Open source server technology is frequently referred to as LAMP, which means Linux,<br />

Apache, MySQL, and PHP. Of course, there are open source flavors of UNIX other than Linux,<br />

but I guess UAMP doesn’t have the same ring to it.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!