name: "..."
recipe: lamp
config:
php: "8.1"
xdebug: false
services:
appserver:
build_as_root:
- pecl install xhprof
- docker-php-ext-enable xhprof
config:
php: .lando/php.ini
tooling:
xhprof:
service: appserver
cmd: php -r "var_dump(extension_loaded('xhprof'));"
xhprof.output_dir=/app/xhprof
File: /path/to/project/.lando/php.ini
Directory: /path/to/project/xhprof
lando rebuild -y
lando xhprof
or
lando php -m | grep xhprof