2011-01-11 5 views
0

私はWAMP SERVER 2.1を使用し、私のシステムにはPHP 5.3.3を選択していますので、xDebugをphp_xdebug-2.1.0-5.3-vc6.dllで選択し、名前をphp_xdebug.dllに変更しました。使用する方法。指示に従いWAMP SERVER 2.1でxdebugをインストールできない

:(Apacheのフォルダ内)にphp.ini

extension=php_xdebug.dll 
... 
zend_extension = "C:/wamp/bin/php/php5.3.3/ext/php_xdebug.dll" 
xdebug.remote_enable=on 
xdebug.remote_handler=dbgp 
xdebug.remote_host=localhost 
xdebug.remote_port=9000 
xdebug.idekey="netbeans-xdebug" 

はしかし、何も起こりません、するphpinfoからはXdebugに関連した情報はありません。またxdebugはxdebugがまだインストールされていないことを発表します(http://xdebug.org/find-binary.php)。

設定に時間がかかりすぎて心配です。私は狂ったと完全には、をあきらめた。 誰かがそれを解決するためのアイデアを持っている、私はあなたが私を助けてくれてとても感謝しています。

ありがとうございました

答えて

0

Apacheサーバーを再起動しましたか?私は、WAMPのメニューでは、サーバーを再起動するオプションがあるはずだと思います。

+0

はい、何かを変更するたびにWAMPも再起動します。私が言ったように、何も起こらない –

0

XDebugが正しく読み込まれるためには、次のコード行のいずれかが必要です。 this siteからセットアップを使用したときはいつでも、XDebugはロードされませんでした。次のphp.iniのスニペットは、すべての開発システムの設定です。

[XDebug] 
;; Only Zend OR (!) XDebug 
; Modify the filename below to reflect the .dll version of your xdebug 
zend_extension="C:\wamp\bin\php\php5.3.6\ext\php_xdebug-2.1.1-5.3-vc9.dll" 
xdebug.remote_enable=1 
xdebug.remote_host=localhost ; if debugging on remote server, 
          ; put client IP here 
xdebug.remote_port=9000 
xdebug.remote_handler="dbgp" 
xdebug.profiler_enable=1 
xdebug.profiler_output_dir="C:\wamp\tmp" 
xdebug.profiler_enable_trigger = 0 
xdebug.profiler_output_name = "xdebug_profile.%R::%u" 
xdebug.trace_output_dir = "C:\wamp\tmp" 

this websiteもチェックして、適切なXDebug DLLがあることを確認してください。私はかつてvc6システムでvc9 dllを使用するという問題を抱えていました。

関連する問題