If you want to disable XDebug on your server for some reason, you can do one of the following:

1.) Locate your php.ini file (the server’s php.ini or if your server allows it create one in the root of your website). Find the following directives and change them as below:


2.) Disable it just for one website with HTACCESS. Enter the following lines in your .htaccess file:

php_value xdebug.remote_autostart 0
php_value xdebug.remote_enable 0
php_value xdebug.profiler_enable 0

3.) Disable it directly from PHP, copy these lines at the begginning of your script

if (function_exists('xdebug_disable'))