Create a gist now

Instantly share code, notes, and snippets.

Embed
Installing Xdebug for XAMPP

Installing Xdebug for XAMPP with PHP 7.x

Requirements

Setup

[XDebug]
zend_extension = "c:\xampp\php\ext\php_xdebug-2.6.0-7.2-vc15.dll"
xdebug.remote_autostart = 1
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "c:\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_log = "c:\xampp\tmp\xdebug.txt"
xdebug.remote_port = 9000
xdebug.trace_output_dir = "c:\xampp\tmp"
;36000 = 10h
xdebug.remote_cookie_expire_time = 36000
  • Stop/Start Apache

  • Click the Github โ˜… Star button :-)

PhpStorm

Netbeans

Eclipse

  • No comment

Visual Studio Code

Adobe Brackets

Sublime Text 2 and 3

@toubson

This comment has been minimized.

Show comment
Hide comment
@toubson

toubson Nov 11, 2016

Thanks. Very useful

toubson commented Nov 11, 2016

Thanks. Very useful

@pdjkeelan

This comment has been minimized.

Show comment
Hide comment
@pdjkeelan

pdjkeelan Nov 20, 2016

Thank you, helped immensely ๐Ÿ‘

Thank you, helped immensely ๐Ÿ‘

@gvgvgvijayan

This comment has been minimized.

Show comment
Hide comment
@gvgvgvijayan

gvgvgvijayan Dec 2, 2016

Thank you!

gvgvgvijayan commented Dec 2, 2016

Thank you!

@htxuankhoa

This comment has been minimized.

Show comment
Hide comment
@htxuankhoa

htxuankhoa Jan 6, 2017

Thank you! This helped me :)

Thank you! This helped me :)

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost Jan 13, 2017

Thanks!

ghost commented Jan 13, 2017

Thanks!

@Ravita123

This comment has been minimized.

Show comment
Hide comment
@Ravita123

Ravita123 Jan 13, 2017

thanks..its very helpful

thanks..its very helpful

@BruceGitHub

This comment has been minimized.

Show comment
Hide comment
@BruceGitHub

BruceGitHub Jan 25, 2017

not work!
no error but not stopping on breakpoint ...

not work!
no error but not stopping on breakpoint ...

@OssamaSelim

This comment has been minimized.

Show comment
Hide comment
@OssamaSelim

OssamaSelim Jan 25, 2017

not work!!
same problem of Bruce

not work!!
same problem of Bruce

@gecesi

This comment has been minimized.

Show comment
Hide comment
@gecesi

gecesi Jan 25, 2017

Thanks.
very helpful.

gecesi commented Jan 25, 2017

Thanks.
very helpful.

@westy92

This comment has been minimized.

Show comment
Hide comment
@westy92

westy92 Jan 30, 2017

I needed to add the line xdebug.remote_autostart = 1.

westy92 commented Jan 30, 2017

I needed to add the line xdebug.remote_autostart = 1.

@TwitchBronBron

This comment has been minimized.

Show comment
Hide comment
@TwitchBronBron

TwitchBronBron Feb 1, 2017

Thanks! I wish I had a way of upvoting this! You should make a stackoverflow answer, and then I can upvote that!

Thanks! I wish I had a way of upvoting this! You should make a stackoverflow answer, and then I can upvote that!

@nataliaIv

This comment has been minimized.

Show comment
Hide comment
@nataliaIv

nataliaIv Feb 5, 2017

Thanks a lot!!!!!!!!!! Two days i can't install Xdebug!!! And I succeeded with your help!!!

Thanks a lot!!!!!!!!!! Two days i can't install Xdebug!!! And I succeeded with your help!!!

@rypsx

This comment has been minimized.

Show comment
Hide comment
@rypsx

rypsx Feb 6, 2017

Very good, thanks a lot !

rypsx commented Feb 6, 2017

Very good, thanks a lot !

@Iszeak

This comment has been minimized.

Show comment
Hide comment
@Iszeak

Iszeak Feb 12, 2017

Super, Thanks

Iszeak commented Feb 12, 2017

Super, Thanks

@jpekeene

This comment has been minimized.

Show comment
Hide comment
@jpekeene

jpekeene Feb 14, 2017

Nice one, cheers

Nice one, cheers

@MattBidas

This comment has been minimized.

Show comment
Hide comment
@MattBidas

MattBidas Feb 16, 2017

Thanks !!! Awesome !!!

Thanks !!! Awesome !!!

@rioda78

This comment has been minimized.

Show comment
Hide comment
@rioda78

rioda78 Feb 21, 2017

thanks very much

rioda78 commented Feb 21, 2017

thanks very much

@grigore-94

This comment has been minimized.

Show comment
Hide comment
@grigore-94

grigore-94 Feb 21, 2017

Thanks!

Thanks!

@TekkCraft

This comment has been minimized.

Show comment
Hide comment
@TekkCraft

TekkCraft Feb 22, 2017

Thanks! :D

Thanks! :D

@D4rkMindz

This comment has been minimized.

Show comment
Hide comment
@D4rkMindz

D4rkMindz Feb 22, 2017

Thank you :)

Thank you :)

@dakn2005

This comment has been minimized.

Show comment
Hide comment
@dakn2005

dakn2005 Feb 25, 2017

Thanks

Thanks

@booncu

This comment has been minimized.

Show comment
Hide comment
@booncu

booncu Mar 24, 2017

Thank you :D

booncu commented Mar 24, 2017

Thank you :D

@guzzyman

This comment has been minimized.

Show comment
Hide comment
@guzzyman

guzzyman Mar 29, 2017

Hey Man, all I can say is. . .You ROCK! Thanks for this piece. I have never worked with a PHP IDE other than Dreamweaver. I needed an IDE and a tool I can use for debugging php code. I searched and found your tutorial. I opted for eclipse and I got the XDebug installed and configured according to your tutorial. Everything just went well without any errors. Once again, thanks a bunch!

Hey Man, all I can say is. . .You ROCK! Thanks for this piece. I have never worked with a PHP IDE other than Dreamweaver. I needed an IDE and a tool I can use for debugging php code. I searched and found your tutorial. I opted for eclipse and I got the XDebug installed and configured according to your tutorial. Everything just went well without any errors. Once again, thanks a bunch!

@magcent

This comment has been minimized.

Show comment
Hide comment
@magcent

magcent Apr 8, 2017

Thanks bro. ur the best!!

magcent commented Apr 8, 2017

Thanks bro. ur the best!!

@mootensai

This comment has been minimized.

Show comment
Hide comment
@mootensai

mootensai Apr 20, 2017

Thanks! Star 4 u!

Thanks! Star 4 u!

@Giulia007

This comment has been minimized.

Show comment
Hide comment
@Giulia007

Giulia007 Apr 27, 2017

Wow! It works! Thank you so much.

Wow! It works! Thank you so much.

@gk2go

This comment has been minimized.

Show comment
Hide comment
@gk2go

gk2go Apr 30, 2017

Once I I launch php in the console, I get:
Failed loading c:\xampp\php\ext\php_xdebug-2.5.3-7.1-vc14-x86_64.dll

gk2go commented Apr 30, 2017

Once I I launch php in the console, I get:
Failed loading c:\xampp\php\ext\php_xdebug-2.5.3-7.1-vc14-x86_64.dll

@poncianodiego

This comment has been minimized.

Show comment
Hide comment
@poncianodiego

poncianodiego May 2, 2017

@gk2go this is because you have downloaded the incorrect binary, first use the https://xdebug.org/wizard.php to figure out which binary you need to download. Then make sure to include your binary within the specified folder and make sure it matches the name.

@gk2go this is because you have downloaded the incorrect binary, first use the https://xdebug.org/wizard.php to figure out which binary you need to download. Then make sure to include your binary within the specified folder and make sure it matches the name.

@boomsya

This comment has been minimized.

Show comment
Hide comment
@boomsya

boomsya May 12, 2017

awesome! ๐Ÿ‘ too easy like: press X to win

boomsya commented May 12, 2017

awesome! ๐Ÿ‘ too easy like: press X to win

@CrawleyO

This comment has been minimized.

Show comment
Hide comment
@CrawleyO

CrawleyO May 15, 2017

AWesome

AWesome

@SoboLAN

This comment has been minimized.

Show comment
Hide comment
@SoboLAN

SoboLAN May 16, 2017

Worked very nice for me.

However I can't seem to understand why it's not included by default in XAMPP, just like for older versions.

SoboLAN commented May 16, 2017

Worked very nice for me.

However I can't seem to understand why it's not included by default in XAMPP, just like for older versions.

@Go-Noji

This comment has been minimized.

Show comment
Hide comment
@Go-Noji

Go-Noji Jun 2, 2017

Thanks!

Go-Noji commented Jun 2, 2017

Thanks!

@packo6300

This comment has been minimized.

Show comment
Hide comment
@packo6300

packo6300 Jun 16, 2017

i need Xdebug for xampp V3.2.2 :/ text for php.ini

i need Xdebug for xampp V3.2.2 :/ text for php.ini

@cpekas

This comment has been minimized.

Show comment
Hide comment
@cpekas

cpekas Jun 17, 2017

thank you very much

cpekas commented Jun 17, 2017

thank you very much

@Micemade

This comment has been minimized.

Show comment
Hide comment
@Micemade

Micemade Jun 23, 2017

Big thanks (also thnx @poncianodiego for little additional help :) )

Big thanks (also thnx @poncianodiego for little additional help :) )

@bytecodeman

This comment has been minimized.

Show comment
Hide comment
@bytecodeman

bytecodeman Jul 2, 2017

Thank you!

Thank you!

@shovradas

This comment has been minimized.

Show comment
Hide comment
@shovradas

shovradas Jul 10, 2017

Thanks! It was handy!!!

Thanks! It was handy!!!

@mindtreeprakash

This comment has been minimized.

Show comment
Hide comment
@mindtreeprakash

mindtreeprakash Jul 14, 2017

Thank you!

Thank you!

@PauloHenrique81

This comment has been minimized.

Show comment
Hide comment
@PauloHenrique81

PauloHenrique81 Jul 17, 2017

Muitoo bom me ajudou muitooo!!!!!

Muitoo bom me ajudou muitooo!!!!!

@dydaniely

This comment has been minimized.

Show comment
Hide comment
@dydaniely

dydaniely Jul 21, 2017

i trusted https://xdebug.org/wizard.php and spend the all day , it is because it gave me wrong versionof dll .
Anyways you save my day , Good Job , Thanks

i trusted https://xdebug.org/wizard.php and spend the all day , it is because it gave me wrong versionof dll .
Anyways you save my day , Good Job , Thanks

@WebDevBooster

This comment has been minimized.

Show comment
Hide comment
@WebDevBooster

WebDevBooster Jul 25, 2017

Very useful indeed!

Very useful indeed!

@sanghisa

This comment has been minimized.

Show comment
Hide comment
@sanghisa

sanghisa Jul 26, 2017

Thank you ...

Thank you ...

@kassius85

This comment has been minimized.

Show comment
Hide comment
@kassius85

kassius85 Jul 30, 2017

Thank you very much!!!

Thank you very much!!!

@ouriels

This comment has been minimized.

Show comment
Hide comment
@ouriels

ouriels Aug 11, 2017

Hello all, do you know what is wrong in my configuration please ?
I followed this procedure, I have no errors but Netbeans don't stop at my breakpoints.

When I launch Debug in Netbeans, It wait connection:

capture

In log file (C:\xampp\tmp\xdebug.txt), I have this many times:

Log opened at 2017-08-11 08:39:31
I: Connecting to configured address/port: 127.0.0.1:9000.
E: Time-out connecting to client. :-(
Log closed at 2017-08-11 08:39:31

Here is my Netbeans config:

capture2

And part of my php.ini:

[XDebug]
zend_extension = "c:\xampp\php\ext\php_xdebug-2.5.5-7.1-vc14.dll"
xdebug.remote_autostart = 1
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "c:\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_log="c:\xampp\tmp\xdebug.txt"
xdebug.remote_port = 9000
xdebug.trace_output_dir = "c:\xampp\tmp"
; 3600 (1 hour), 36000 = 10h
xdebug.remote_cookie_expire_time = 36000

I precise I use Symfony 3.3 application.

Thank you for your help !!

ouriels commented Aug 11, 2017

Hello all, do you know what is wrong in my configuration please ?
I followed this procedure, I have no errors but Netbeans don't stop at my breakpoints.

When I launch Debug in Netbeans, It wait connection:

capture

In log file (C:\xampp\tmp\xdebug.txt), I have this many times:

Log opened at 2017-08-11 08:39:31
I: Connecting to configured address/port: 127.0.0.1:9000.
E: Time-out connecting to client. :-(
Log closed at 2017-08-11 08:39:31

Here is my Netbeans config:

capture2

And part of my php.ini:

[XDebug]
zend_extension = "c:\xampp\php\ext\php_xdebug-2.5.5-7.1-vc14.dll"
xdebug.remote_autostart = 1
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "c:\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_log="c:\xampp\tmp\xdebug.txt"
xdebug.remote_port = 9000
xdebug.trace_output_dir = "c:\xampp\tmp"
; 3600 (1 hour), 36000 = 10h
xdebug.remote_cookie_expire_time = 36000

I precise I use Symfony 3.3 application.

Thank you for your help !!

@hoangninh

This comment has been minimized.

Show comment
Hide comment
@hoangninh

hoangninh Aug 21, 2017

Amazing!! Thank you so much

Amazing!! Thank you so much

@potapo

This comment has been minimized.

Show comment
Hide comment
@potapo

potapo Aug 29, 2017

cool,that's awesome

potapo commented Aug 29, 2017

cool,that's awesome

@ArnoldsK

This comment has been minimized.

Show comment
Hide comment
@ArnoldsK

ArnoldsK Aug 31, 2017

My lazy self says thanks!

My lazy self says thanks!

@mariana-madrigal

This comment has been minimized.

Show comment
Hide comment
@mariana-madrigal

mariana-madrigal Sep 4, 2017

Thanks a lot!!!

Thanks a lot!!!

@zeyizhou

This comment has been minimized.

Show comment
Hide comment
@zeyizhou

zeyizhou Sep 18, 2017

thanks

thanks

@elemes1

This comment has been minimized.

Show comment
Hide comment
@elemes1

elemes1 Sep 24, 2017

Thanks a lot, for Laragon this didn't work at first, so I pointed the path to C:\laragon\bin\apache\httpd-2.4.27-win64-VC14\bin\php_xdebug-2.5.5-7.1-vc14-x86_64.dll Worked like Charm with your config.

Thanks

elemes1 commented Sep 24, 2017

Thanks a lot, for Laragon this didn't work at first, so I pointed the path to C:\laragon\bin\apache\httpd-2.4.27-win64-VC14\bin\php_xdebug-2.5.5-7.1-vc14-x86_64.dll Worked like Charm with your config.

Thanks

@n3omaster

This comment has been minimized.

Show comment
Hide comment
@n3omaster

n3omaster Sep 28, 2017

Thanks! Works excelent!

Thanks! Works excelent!

@GustavoJobstraibizer

This comment has been minimized.

Show comment
Hide comment
@GustavoJobstraibizer

GustavoJobstraibizer Sep 28, 2017

Thanks !

Thanks !

@odan

This comment has been minimized.

Show comment
Hide comment
Owner

odan commented Sep 30, 2017

@a1iraxa

This comment has been minimized.

Show comment
Hide comment
@a1iraxa

a1iraxa Oct 17, 2017

Great Work

a1iraxa commented Oct 17, 2017

Great Work

@aliumarcdp

This comment has been minimized.

Show comment
Hide comment
@aliumarcdp

aliumarcdp Oct 25, 2017

Hi friends, I have latest PHP Version 7.1.9 and I have installed Apache server all are running fine. I am not able to configure Xdebug in eclipse environment. I am not getting Xdebug in php.ini after pasting php_xdebug-2.5.5-7.1-vc14.dll in D:\xampp\php\ext. Please guide me. I have environment Windows7, JDK, Eclipse, XAMP, Apache server all are running fine. What should I achieve it to configure Xdebug. Waiting for your response.

Hi friends, I have latest PHP Version 7.1.9 and I have installed Apache server all are running fine. I am not able to configure Xdebug in eclipse environment. I am not getting Xdebug in php.ini after pasting php_xdebug-2.5.5-7.1-vc14.dll in D:\xampp\php\ext. Please guide me. I have environment Windows7, JDK, Eclipse, XAMP, Apache server all are running fine. What should I achieve it to configure Xdebug. Waiting for your response.

@khoimk

This comment has been minimized.

Show comment
Hide comment
@khoimk

khoimk Oct 28, 2017

Thanks so much. This has ended my 2 painful days ๐Ÿ‘

khoimk commented Oct 28, 2017

Thanks so much. This has ended my 2 painful days ๐Ÿ‘

@odan

This comment has been minimized.

Show comment
Hide comment
@odan

odan Oct 30, 2017

@aliumarcdp In case you have installed XAMPP on drive D: just change the drive letter from c: to d: in the php.ini [XDebug] section.

Owner

odan commented Oct 30, 2017

@aliumarcdp In case you have installed XAMPP on drive D: just change the drive letter from c: to d: in the php.ini [XDebug] section.

@bkarpov

This comment has been minimized.

Show comment
Hide comment
@bkarpov

bkarpov Nov 22, 2017

Thanks

bkarpov commented Nov 22, 2017

Thanks

@Abu3safeer

This comment has been minimized.

Show comment
Hide comment
@Abu3safeer

Abu3safeer Dec 3, 2017

Thank you very much.

Thank you very much.

@hossam131978

This comment has been minimized.

Show comment
Hide comment
@hossam131978

hossam131978 Dec 3, 2017

thank you very much *************************

thank you very much *************************

@enfrte

This comment has been minimized.

Show comment
Hide comment
@enfrte

enfrte Dec 4, 2017

Thanks, this worked on VS Code 1.18.1 - PHP 7.1. - XAMP 3.2.2

enfrte commented Dec 4, 2017

Thanks, this worked on VS Code 1.18.1 - PHP 7.1. - XAMP 3.2.2

@yumarsoto19831

This comment has been minimized.

Show comment
Hide comment
@yumarsoto19831

yumarsoto19831 Dec 16, 2017

Well done!!
Thank you very much. ;)

Well done!!
Thank you very much. ;)

@Abu3safeer

This comment has been minimized.

Show comment
Hide comment
@Abu3safeer

Abu3safeer Dec 25, 2017

Waiting for PHP 7.2 version.

Waiting for PHP 7.2 version.

@DannyFeliz

This comment has been minimized.

Show comment
Hide comment
@DannyFeliz

DannyFeliz Jan 5, 2018

Worked like a charm ๐Ÿ‘

Worked like a charm ๐Ÿ‘

@yashichiZX

This comment has been minimized.

Show comment
Hide comment
@yashichiZX

yashichiZX Jan 7, 2018

Thank you very much!!!

Thank you very much!!!

@saebifar

This comment has been minimized.

Show comment
Hide comment
@saebifar

saebifar Jan 8, 2018

very usefull

awesome :)

saebifar commented Jan 8, 2018

very usefull

awesome :)

@Angelita31

This comment has been minimized.

Show comment
Hide comment
@Angelita31

Angelita31 Feb 2, 2018

Hello all,
I am In my php.ini page and there isn't [XDebug] section, miy question is: Where I shoud paste it?
[XDebug]
zend_extension = "c:\xampp\php\ext\php_xdebug-2.5.5-7.1-vc14.dll"
xdebug.remote_autostart = 1
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "c:\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_log = "c:\xampp\tmp\xdebug.txt"
xdebug.remote_port = 9000
xdebug.trace_output_dir = "c:\xampp\tmp"
;36000 = 10h
xdebug.remote_cookie_expire_time = 36000

Please I really appreciate your support!
Thanks in advance

Hello all,
I am In my php.ini page and there isn't [XDebug] section, miy question is: Where I shoud paste it?
[XDebug]
zend_extension = "c:\xampp\php\ext\php_xdebug-2.5.5-7.1-vc14.dll"
xdebug.remote_autostart = 1
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "c:\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_log = "c:\xampp\tmp\xdebug.txt"
xdebug.remote_port = 9000
xdebug.trace_output_dir = "c:\xampp\tmp"
;36000 = 10h
xdebug.remote_cookie_expire_time = 36000

Please I really appreciate your support!
Thanks in advance

@danielMensah

This comment has been minimized.

Show comment
Hide comment
@danielMensah

danielMensah Feb 10, 2018

me too I don't have any [XDebug] section. However I added it manually and still doesn't work.

me too I don't have any [XDebug] section. However I added it manually and still doesn't work.

@mak213k

This comment has been minimized.

Show comment
Hide comment
@mak213k

mak213k Feb 13, 2018

I've the same problem too. Would be in this part that i put my xdebug path?

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example, on Windows:
;
; extension=msql.dll
;
; ... or under UNIX:
;
; extension=msql.so
;
; ... or with a path:
;
; extension=/path/to/extension/msql.so
;
; If you only provide the name of the extension, PHP will look for it in its
; default extension directory.
;
; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
; extension folders as well as the separate PECL DLL download (PHP 5+).
; Be sure to appropriately set the extension_dir directive.
;
extension=php_bz2.dll
extension=php_curl.dll
extension=php_fileinfo.dll
;extension=php_ftp.dll
extension=php_gd2.dll
extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_intl.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_exif.dll ; Must be after mbstring as it depends on it
extension=php_mysqli.dll
;extension=php_oci8_12c.dll ; Use with Oracle Database 12c Instant Client
;extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll

mak213k commented Feb 13, 2018

I've the same problem too. Would be in this part that i put my xdebug path?

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example, on Windows:
;
; extension=msql.dll
;
; ... or under UNIX:
;
; extension=msql.so
;
; ... or with a path:
;
; extension=/path/to/extension/msql.so
;
; If you only provide the name of the extension, PHP will look for it in its
; default extension directory.
;
; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
; extension folders as well as the separate PECL DLL download (PHP 5+).
; Be sure to appropriately set the extension_dir directive.
;
extension=php_bz2.dll
extension=php_curl.dll
extension=php_fileinfo.dll
;extension=php_ftp.dll
extension=php_gd2.dll
extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_intl.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_exif.dll ; Must be after mbstring as it depends on it
extension=php_mysqli.dll
;extension=php_oci8_12c.dll ; Use with Oracle Database 12c Instant Client
;extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll

@mak213k

This comment has been minimized.

Show comment
Hide comment
@mak213k

mak213k Feb 13, 2018

I found the answer:

Put this line:
zend_extension=php_xdebug-2.6.0-7.1-vc14.dll

But the version of the xdebug should have the same of php installed in your machine. Look the version in this path:

/dashboard/phpinfo.php

phpinfo

Download the xdebug in this site:

https://xdebug.org/download.php

mak213k commented Feb 13, 2018

I found the answer:

Put this line:
zend_extension=php_xdebug-2.6.0-7.1-vc14.dll

But the version of the xdebug should have the same of php installed in your machine. Look the version in this path:

/dashboard/phpinfo.php

phpinfo

Download the xdebug in this site:

https://xdebug.org/download.php

@nuwandharshana

This comment has been minimized.

Show comment
Hide comment
@nuwandharshana

nuwandharshana Feb 16, 2018

Yes, You need to add the code under dynamic extension category
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

Yes, You need to add the code under dynamic extension category
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

@jandro935

This comment has been minimized.

Show comment
Hide comment
@jandro935

jandro935 Feb 23, 2018

Thanks a lot !!

Thanks a lot !!

@viniciustaveira

This comment has been minimized.

Show comment
Hide comment
@viniciustaveira

viniciustaveira Feb 25, 2018

Sublime Text 2 and 3

Sublime Text 2 and 3

@bhave-abhay

This comment has been minimized.

Show comment
Hide comment
@bhave-abhay

bhave-abhay Apr 24, 2018

I did not have the section [XDebug] either.
I added it, stopped and started Apache, and everything was good.

I haven't tried it, but I guess, if you restart Apache AFTER putting those dlls in ext dir and before changing the ini, it creates (an empty) section [XDebug]? Not sure.

But this was straight forward, and worked in first hit. Thanks a lot (y)

I did not have the section [XDebug] either.
I added it, stopped and started Apache, and everything was good.

I haven't tried it, but I guess, if you restart Apache AFTER putting those dlls in ext dir and before changing the ini, it creates (an empty) section [XDebug]? Not sure.

But this was straight forward, and worked in first hit. Thanks a lot (y)

@zzsbebop

This comment has been minimized.

Show comment
Hide comment
@zzsbebop

zzsbebop May 6, 2018

Thanks, You made my day!

zzsbebop commented May 6, 2018

Thanks, You made my day!

@clintonqwert

This comment has been minimized.

Show comment
Hide comment
@clintonqwert

clintonqwert May 8, 2018

Thank you!!

Thank you!!

@MarkusL27

This comment has been minimized.

Show comment
Hide comment
@MarkusL27

MarkusL27 May 9, 2018

Thanks, very helpfull!

Thanks, very helpfull!

@JulioCVaz

This comment has been minimized.

Show comment
Hide comment
@JulioCVaz

JulioCVaz Jun 17, 2018

very nice ! Thanks bro

very nice ! Thanks bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment