-
-
Save andrefauth/cb43d9956dab988282ee722cce24c7a5 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
sudo apt-get install tasksel | |
sudo tasksel install lamp-server | |
sudo apt-get install php5-xdebug | |
sudo apt-get install kcachegrind | |
# php.ini | |
xdebug.remote_enable = 1 | |
xdebug.remote_connect_back = 1 | |
xdebug.profiler_enable = 0 | |
xdebug.profiler_enable_trigger = 1 | |
xdebug.profiler_output_dir = /tmp | |
xdebug.remote_handler = dbgp | |
xdebug.remote_port = 9000 | |
# 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