Xdebug for PHP Profile

Windows 1. Download xdebug extension : http://www.xdebug.org/files/php_xdebug-2.1.0-5.2-vc6.dll 2. Add xdebug extension into php : E:\xampp\php\ext\php_xdebug-2.1.0-5.2-vc6.dll 3. Modify php.ini : 4. Restart apache : see phpinfo() for xdebug section 5. Download winCacheGrind and start profiling : http://sourceforge.net/projects/wincachegrind/ Linux 1. Download and Install xdebug.so 2. Modify php.ini 3. Restart nginx and php-fpm (or apache) : 4. Start […]

Posted in PHP | Tagged , | Leave a comment