Apress Access

Pro PHP Application Performance

Tuning PHP Web Projects for Maximum Performance

By Armando Padilla , DUPTim Hawkins

  • eBook Price: $34.99
Buy eBook Buy Print Book
This book contains tips, tricks, and techniques to make new and existing PHP applications much faster and less resource-hungry.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-2898-1
  • 264 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: December 28, 2010
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Go Recipes
  • Learn CakePHP, Second Edition
  • PHP Development Tool Essentials
  • PHP and MySQL Recipes
  • Practical Laravel 5
  • Lumen Programming Guide
Full Description

Pro PHP Application Performance will help you understand all the technologies and components which play a role in how well your applications run. When seconds can mean the difference between retaining a user and losing a user, it's important for all of us to have optimization as part of our project roadmap. But what components within your application should you analyze? How should you optimize? And how can you measure how well your application is performing? These are some of the questions that are answered in this book.

Along the way you will also learn the "why" of optimizing. You’ll discover why you should optimize a specific component, why selecting one function over another is beneficial, and how to find and use the optimization tools available to the open source community. You’ll also learn how to deploy caching software as well as web server software. Pro PHP Application Performance will also teach you more advanced techniques, such as:

<li> Using Xdebug to profile functions that are not running as efficiently as possible.

<li> Comparing opcode executed by different PHP functions to narrow the search for functions that run efficiently.

<li> Using strace to analyze Apache while your application is served to the user.

Once you complete this book you will have a complete sense of where to start optimizing and, most importantly, have the tools which allow you to continue optimizing in other PHP applications going forward.

What you’ll learn

  • How to improve the performance of existing PHP applications
  • How to maximize the performance of existing operating systems and databases
  • How to refactor existing PHP code for better performance
  • How to identify and rectify bottlenecks in PHP code
  • How to take advantage of variable caching to increase performance
  • Strategies for selecting server hardware for best performance

Who this book is for

This book will appeal to established PHP developers who wish to write new, complex applications or want to rearchitect existing ones. Developers of other languages such as Ruby, Python, and VB.NET will also have an interest in the techniques for tuning the performance of web servers, databases, and operating systems.

Table of Contents

Table of Contents

  1. Benchmarking Techniques
  2. Improving Client Download and Rendering Performance
  3. PHP Code Optimization
  4. Opcode Caching
  5. Variable Caching
  6. Choosing the Right Web Server
  7. Web Server and Delivery Optimization
  8. Database Optimization
  9. Installing Apache, MySQL, PHP, and PECL on Windows
  10. Installing Apache, MySQL, PHP, and PECL on Linux
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published


    1. Unboxing Android USB


      View Book

    2. Beginning AngularJS


      View Book

    3. Beginning Ruby


      View Book

    4. Pro Arduino


      View Book