You are here

xdebug

One of our Wordpress website was running very slow, so I have been asked to diagnose the application. The website was running in upwards of 6 seconds to load the homepage, and 8+ seconds to load woocommerce product pages. There are several debugging and profiling tools available in PHP realm, and Xdebug is an excellent choice. New Relic (free and premium versions) is another choice for profiling and debugging PHP application.

If you have PHP version 5.4 above, you may install Xdebug with a package installer as described below. If you have a PHP version lower than 5.4, you'll have to compile the Xdebug (see instruction below).