Pro PHP Application Performance: Tuning PHP Web Projects for Maximum Performance / Edition 1

Paperback (Print)
Buy New
Buy New from
Used and New from Other Sellers
Used and New from Other Sellers
from $12.46
Usually ships in 1-2 business days
(Save 75%)
Other sellers (Paperback)
  • All (15) from $12.46   
  • New (10) from $28.99   
  • Used (5) from $12.46   


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 thatare 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 willalso teach you more advanced techniques, such as:

  • Using Xdebug to profile functions that are not running as efficiently as possible.
  • Comparing opcode executed by different PHP functions to narrow the search for functions that run efficiently.
  • 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

  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
Read More Show Less

Product Details

  • ISBN-13: 9781430228981
  • Publisher: Apress
  • Publication date: 12/29/2010
  • Edition number: 1
  • Pages: 264
  • Product dimensions: 7.40 (w) x 9.10 (h) x 1.00 (d)

Meet the Author

Armando Padilla has over 10 years in the PHP community, and has contributed PHP development of asset management tools to both "Late Night with Conan O'Brien" and "Saturday Night Live". He contributed to the Zend framework powered social networking web site, an project for "The Office". He is currently an active PHP developer at Yahoo!, and is working on his master's degree in the computer science, semantic web, and data mining fields.

Tim Hawkins produced one of the world s first online classifieds portals in 1993,, before moving on to run engineering for many of Yahoo EU s non-media-based properties, such as search, local search, mail, messenger, and its social networking products. He is currently managing a large offshore team for a major US e-tailer, developing and deploying next-gen e-commerce applications. Loves hats, hates complexity.

Read More Show Less

Customer Reviews

Average Rating 5
( 1 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)