Advertisement
Guest User

Untitled

a guest
Nov 25th, 2015
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Install xDebug:
  2. apt-get install php5-xdebug
  3.  
  4. Find xDebug location by:
  5. locate xdebug.so
  6. , it will return something like /usr/lib/php5/20121212/xdebug.so
  7.  
  8. Add following lines into php.ini:
  9. zend_extension="/usr/lib/php5/20121212/xdebug.so"
  10. xdebug.remote_autostart=on
  11. xdebug.remote_enable=1
  12. xdebug.remote_handler=dbgp
  13. xdebug.remote_mode=req
  14. xdebug.remote_host=127.0.0.1
  15. xdebug.remote_port=9000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement