2012-04-02 3 views
0

winxp에서 xdebug 설치에 별다른 문제가 없습니다. xdebug 페이지에 php info의 출력을 양식에 붙여 넣은 다음 필요한 버전을 설치합니다. dll lib. 문제는 포트 9000에서 xdebug에 연결할 수 없다는 것입니다. 포트 9000에서 아무것도 수신하지 않기 때문에 (netstat -a 명령으로 찾았습니다). 누군가 나에게이 문제를 해결하는 방법을 알려 주실 수 있습니까? 감사.winxp에서 xdebug를 실행하는 방법

http://pastebin.com/472SaQKv

답변

0

위의 링크에서 자습서를 참조 나는 allready이 문제를 해결했다. 내 php.ini의 설정은 다음과 같습니다!

zend_extension="C:\Program Files\Apache Software Foundation\Apache2.2\php\ext\php_xdebug-2.1.3-5.3-vc9.dll" 

[xdebug] 
xdebug.remote_enable=ON 
xdebug.remote_handler=dbgp 
xdebug.remote_host=127.0.0.1 
xdebug.remote_autostart = 1 
xdebug.remote_port=9000 
xdebug.idekey="netbeans-xdebug" 
xdebug.remote_connect_back=ON 
xdebug.remote_log="C:\Program Files\Apache Software Foundation\Apache2.2\logs\xdebug.log" 

xdebug.profiler_enable = 1 
xdebug.profiler_output_name = cachegrind.out.%t.%p 
xdebug.profiler_output_dir = "C:/Windows/Temp/xdebug" 
xdebug.trace_output_dir = "C:/Windows/Temp/xdebug" 
3

당신은 포트 9000 Eclipse PDT에서 수신 실제 디버거가 필요합니다 예를 들어, XDebug가 호환성을 제공합니다 : 여기 내은 phpinfo의 출력됩니다.

다음 요구

은 php.ini 파일에서 조정할 수 :

; Enable remote connections 
xdebug.remote_enable = On 

; Automatically connect when PHP script starts 
xdebug.remote_autostart = 1 

; IP adress to connect *to* 
; (adjust accordingly) 
xdebug.remote_host = 127.0.0.1 

이러한 설정은 XDebug는 PHP 스크립트가 실행될 때마다 로컬 호스트에 연결하게됩니다. 제대로 설정되면 *, 디버깅 연결을 수락할지 묻는 메시지가 나타납니다.

*이

관련 문제