Skip to Main Content
PHP in a Nutshell
book

PHP in a Nutshell

by Paul Hudson
October 2005
Intermediate to advanced content levelIntermediate to advanced
372 pages
11h 35m
English
O'Reilly Media, Inc.
Content preview from PHP in a Nutshell

Use a PHP Code Cache

There is one simple way you can double the speed of your server, and that is to install a PHP code cache. There are a few to choose from, but several of them don't keep up-to-date with new releases. IonCube's PHP Accelerator (http://www.ioncube.co.uk) used to be good, but hasn't seen an update for a while at the time of writing.

The finest code cache available is now unequivocally Zend Platform, which combines an advanced code acceleration system with numerous management features. The downside is that it's expensive, but if you're a small business, you can sign up for their Small Business program, which gives you a cutdown version of their code cache for a much lower price.

If you're watching your pennies, the Alternative PHP Cache (http://pecl.php.net/package/APC) will get you almost as much performance as Zend Performance Suite, at no cost.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PHP Cookbook

PHP Cookbook

Eric A. Mann
Programming PHP

Programming PHP

Rasmus Lerdorf, Kevin Tatroe
Learning PHP

Learning PHP

David Sklar

Publisher Resources

ISBN: 0596100671Errata Page