phpist

Untitled

Sep 27th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. Instructions
  2.  
  3. Download xdebug-2.7.2.tgz
  4. Install the pre-requisites for compiling PHP extensions.
  5. On your Ubuntu system, install them with: apt-get install php-dev autoconf automake
  6. Unpack the downloaded file with tar -xvzf xdebug-2.7.2.tgz
  7. Run: cd xdebug-2.7.2
  8.  
  9. Run: phpize (See the FAQ if you don't have phpize).
  10.  
  11. As part of its output it should show:
  12.  
  13. Configuring for:
  14. ...
  15. Zend Module Api No: 20170718
  16. Zend Extension Api No: 320170718
  17.  
  18. If it does not, you are using the wrong phpize. Please follow this FAQ entry and skip the next step.
  19. Run: ./configure
  20. Run: make
  21. Run: cp modules/xdebug.so /usr/lib/php/20170718
  22. Edit /etc/php/7.2/apache2/php.ini /etc/php/7.2/apache2/php.ini and add the line
  23. zend_extension = /usr/lib/php/20170718/xdebug.so
  24. Restart the webserver
Add Comment
Please, Sign In to add comment