Friday, August 23, 2013

Re: How can I install xdebug?

I have installed EasyPHP and it works fine on Windows.

Regards,
Max


On Fri, Aug 23, 2013 at 3:02 PM, Vanja Dizdarević <lex.non.scripta@gmail.com> wrote:
The first step is to download the RIGHT version of xDebug. I often miss this and go for 64bit version instead of 32bit, or VC6 compiler version instead of VC9 

This is my php.ini segment:

zend_extension = C:\srv\php\ext\php_xdebug-2.2.3-5.4-vc9.dll
xdebug.remote_enable = on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_log = C:\srv\php\logs\xdebug.log

In most cases, you are probably running a 32bit, VC9 version of PHP, so download that dll from xdebug.
If unsure, just download them all, and change the extension path in the php.ini until success.

Possibly easier than restarting apache and checking the phpinfo is running this command in command line: php -i | findstr "xdebug" | more

On Friday, August 23, 2013 9:06:35 AM UTC+2, Dakota wrote:
I know from experience that it is virtually impossible to get XDebug working on Windows. At least, I've never been able to do it.

On Saturday, 17 August 2013 12:49:32 UTC+2, Sanjay Rathod wrote:

Hi guys...
I want to install xdebug for profiling and debugging php application. But something i miss so that phpinfo file not shows xdebug.some basic info about my php confihuration
PHP Version 5.4.7
Apache 2.4

what steps i have followed: i have download latest version of xdebug.dll and move this file to the folder C:\xampp\php\ext
now i have edit php.ini file add below code to it

[XDebug]
zend_extension = "C:\xampp\php\ext"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_mode=req
xdebug.idekey=xdebug
xdebug.remote_log="c:\tmp\xdebug\xdebug.log"
xdebug.show_exception_trace=0
xdebug.show_local_vars=9
xdebug.show_mem_delta=0
xdebug.trace_format=0
xdebug.profiler_enable = 1
xdebug.profiler_output_dir ="c:\tmp\xdebug"

so can anyone have help me where is the problem?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: