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