phpist

Untitled

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