Skip to content

Instantly share code, notes, and snippets.

@tjkhara
Last active August 22, 2018 07:03
Show Gist options
  • Save tjkhara/0e4dce761ab7378128baae608fc17c5f to your computer and use it in GitHub Desktop.
Save tjkhara/0e4dce761ab7378128baae608fc17c5f to your computer and use it in GitHub Desktop.
Xdebug Wizard Output
XDEBUG EXTENSION FOR PHP | DOCUMENTATION | INSTALLATION
home | updates | download | documentation | contributing | license | support | issue tracker
If you like Xdebug, please consider giving a
donation.
Tailored Installation InstructionsSummary
*
Xdebug installed: 2.6.0
*
Server API: Apache 2.0 Handler
*
Windows: no
*
Zend Server: no
*
PHP Version: 7.2.7-0
*
Zend API nr: 320170718
*
PHP API nr: 20170718
*
Debug Build: no
*
Thread Safe Build: no
*
Configuration File Path: /etc/php/7.2/apache2
*
Configuration File: /etc/php/7.2/apache2/php.ini
*
Extensions directory: /usr/lib/php/20170718
Instructions
1.
Download xdebug-2.6.1.tgz
2.
Unpack the downloaded file with tar -xvzf xdebug-2.6.1.tgz
3.
Run: cd xdebug-2.6.1
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. 4.
Run: ./configure
5.
Run: make
6.
Run: cp modules/xdebug.so /usr/lib/php/20170718
7.
Update /etc/php/7.2/apache2/php.ini and change the line
zend_extension = /usr/lib/php/20170718/xdebug.so
8.
Restart the webserver
If you like Xdebug, and thinks it saves you time and money, please have a look at the donation page.
This site and all of its contents are Copyright © 2002-2018 by Derick Rethans.
All rights reserved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment