Created
April 24, 2013 07:58
-
-
Save mapkyca/5450431 to your computer and use it in GitHub Desktop.
Enable xdebug profiling in a .htaccess file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Turn on XDebug profiling in .htaccess | |
php_value xdebug.profiler_enable On | |
php_value xdebug.profiler_output_dir "/tmp" | |
php_value xdebug.profiler_output_name "%H.%R.%u.cachegrind.out" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
profiler_output_name is important for web app profiling, since this generates a unique file per page request (useful for profiling api calls)