Skip to content

Instantly share code, notes, and snippets.

@raftaar1191
Created March 7, 2018 21:58
Show Gist options
  • Save raftaar1191/c9d1c4f7ef32cc21fc3f296ddc82761d to your computer and use it in GitHub Desktop.
Save raftaar1191/c9d1c4f7ef32cc21fc3f296ddc82761d to your computer and use it in GitHub Desktop.
Display xbedug in Local By Flyweel
1> Login into the sites shell of Local By Flyweel sites
2> Then past the following command into the login shell `php -i | grep "php.ini"`
OUTPUT
root@05438eed18c9:/# php -i | grep "php.ini"
Configuration File (php.ini) Path => /conf/php/7.0.3
Loaded Configuration File => /conf/php/7.0.3/php.ini
3> Copy Loaded Configuration File path and open it in vim like `vim Loaded Configuration File`
4> Vim ediotr will openup comment the xdebug line
OUTPUT
[Xdebug]
# zend_extension = /opt/php/7.0.3/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so
# xdebug.remote_enable=1
# xdebug.remote_connect_back=On
# xdebug.remote_port="9000"
# xdebug.profiler_enable=0
# cgi.fix_pathinfo = 1
5> Restart the sites again and it ebing done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment