dポイントプレゼントキャンペーン実施中!

Windows版のPHPにXdebugを認識させられません。

32bit版の時は5.3.5で認識させられたのですが、64bit版ではどうしても認識させられません。
ただし、32bit版の時はTSでPHPを入れたのに、php.iniにてzend_extension=~でないと認識されませんでしたが。
どのようにすれば自分の環境でphp.iniに認識させられるのでしょうか?

勿論xdebug.dllはc:/php/ext内に入れています。

OS : Windows7
PHP : php-5.3.8-Win32-VC9-x86.zip
Xdebug : php_xdebug-2.1.2-5.3-vc9-x86_64.dll

php.ini設定 :
extension_dir = "c:/php/ext"
[Xdebug]
;; Only Zend OR (!) XDebug
zend_extension_ts="C:\php\ext\php_xdebug-2.1.2-5.3-vc9-x86_64.dll"
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="C:\php\tmp\debug"



ちなみに、Xdebugのサイトより、phpinfoの内容をコピペして出た結果は以下の通りです。

Tailored Installation Instructions
Summary
Xdebug installed: no
Server API: Apache 2.0 Handler
Windows: yes - Compiler: MS VC9 - Architecture: x86
Zend Server: no
PHP Version: 5.3.8
Zend API nr: 220090626
PHP API nr: 20090626
Debug Build: no
Thread Safe Build: yes
Configuration File Path: C:\Windows
Configuration File: C:\Windows\php.ini
Extensions directory: c:\php\ext
Instructions
Download php_xdebug-2.1.2-5.3-vc9.dll
Move the downloaded file to c:\php\ext
Edit C:\Windows\php.ini and add the line
zend_extension = c:\php\ext\php_xdebug-2.1.2-5.3-vc9.dll
Restart the webserver

しかし、勿論上記のようにしても結果はダメでした。

A 回答 (1件)

>64bit版ではどうしても認識させられません


>PHP : php-5.3.8-Win32-VC9-x86.zip

x86.zipでは32bitにはあっても64bitにあわないのでは?
参考URLの「2 32bit or 64bit」環境に合わせてダウンロードしているようですが(事例では32bit)

参考URL:http://muchag.undo.jp/archives/1129
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!