0

Is there any simple/correct way to disable Xdebug in a Primary Vagrant box?

I tried setting the xdebug PHP.ini vars in the /manifests/custom/php.pp puppet file, with no luck. Also commenting the xdebug lines in /manifests/init.pp with no luck either.

Any other suggestion?

Community
  • 1
  • 1
Edu Wass
  • 1,969
  • 1
  • 21
  • 22

1 Answers1

3

Find: 'xdebug.ini'

/etc/php/7.0/cli/conf.d/20-xdebug.ini
/etc/php/7.0/fpm/conf.d/20-xdebug.ini
/etc/php/mods-available/xdebug.ini

then comment with ';'

;zend_extension=xdebug.so

then restart your nginx server

sudo service nginx restart
JulianoMartins
  • 543
  • 1
  • 8
  • 19