MediaWiki-Docker/Configuration recipes/Disable XDebug for better performance

From mediawiki.org
Jump to navigation Jump to search

Disable XDebug for better performance[edit]

Prior to splitting PHP-FPM into its own container and upgrading to Xdebug 3, it was sometimes desirable to run a container without the Xdebug build.

In the current version of MediaWiki-Docker, you can disable Xdebug and Xhprof entirely by setting XDEBUG_ENABLE and XHPROF_ENABLE to "false" in your .env file. Here's an example:

XDEBUG_ENABLE=false
XHPROF_ENABLE=false