Last active
December 6, 2017 16:34
-
-
Save otaavioo/2fc129a21c07b5a984e3ff3bf3f05847 to your computer and use it in GitHub Desktop.
KCACHEGRIND
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!docker | |
sudo apt-get install tasksel | |
sudo tasksel install lamp-server | |
sudo apt-get install php5-xdebug | |
sudo apt-get install kcachegrind | |
# php.ini | |
xdebug.profiler_enable = 0 | |
xdebug.profiler_enable_trigger = 1 | |
xdebug.profiler_output_dir = /tmp | |
# rodar com ?XDEBUG_PROFILE=1 na requisição | |
> caso esteja usando mariadb na máquina | |
sudo apt-get remove --purge mysql-server mysql-client mysql-common | |
sudo apt-get autoremove | |
sudo apt-get autoclean | |
sudo apt-get install mariadb-server | |
sudo apt-get install php5-mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment