Categories
Apache Tools and Technologies

How to Configure xDebug in XAMPP or Apache

xDebug is Extremely useful and popular tools for debugging error for PHP programmers.It’s really great debugger for PHP programming. Actually it’s working with Apache. To install or configure xDebug follow some simple steps given below.

Step 1: Open your php.ini file

Step 2 : Find xDebug and then you can see,

;zend_extension = "C:xamppphpextphp_eaccelerator_ts.dll"

Just delete (;) from that line.

Step 3: Then cope the following line and paste it into php.ini file

xdebug.remote_enable=On
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler=dbgp

 Step 4 : Finally restart Apache. Now you can find your error very smartly and easily.

 

By Sohel Rana

PHP Programmer, Software Engineer & Technology lover

Leave a Reply

Your email address will not be published. Required fields are marked *