github.com/ddev/ddev@v1.23.2-0.20240519125000-d824ffe36ff3/containers/ddev-webserver/ddev-webserver-base-files/usr/local/bin/enable_xhprof (about)

     1  #!/bin/bash
     2  export PATH=$PATH:/usr/sbin:/sbin
     3  phpdismod blackfire xdebug
     4  mkdir -p ${XHPROF_OUTPUT_DIR}
     5  phpenmod xhprof
     6  killall -USR2 php-fpm 2>/dev/null || true
     7  echo "Enabled xhprof.
     8  After each web request or CLI process you can see all runs, most recent first, at
     9  ${DDEV_PRIMARY_URL}/xhprof"