Created
August 15, 2017 08:25
-
-
Save iamnnort/e00efc57e40a3d05bbb7a10e129e8a37 to your computer and use it in GitHub Desktop.
XDEBUG
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 php5-xdebug | |
| sudo php5enmod xdebug | |
| sudo service php5.6-fpm restart | |
| open /etc/php/5.6/mods-available/xdebug.ini & add lines: | |
| zend_extension=xdebug.so | |
| xdebug.remote_autostart=on | |
| xdebug.remote_enable=on | |
| xdebug.remote_handler="dbgp" | |
| xdebug.remote_host="127.0.0.1" | |
| xdebug.remote_port=9001 | |
| xdebug.remote_mode=req | |
| xdebug.idekey="PHPSTORM" | |
| sudo service apache2 restart |
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 php-xdebug | |
| sudo phpenmod xdebug | |
| sudo service php7.0-fpm restart | |
| open /etc/php/7.0/mods-available/xdebug.ini & add lines: | |
| zend_extension=xdebug.so | |
| xdebug.remote_autostart=on | |
| xdebug.remote_enable=on | |
| xdebug.remote_handler="dbgp" | |
| xdebug.remote_host="127.0.0.1" | |
| xdebug.remote_port=9001 | |
| xdebug.remote_mode=req | |
| xdebug.idekey="PHPSTORM" | |
| sudo service apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment