Akash Paul
Akash Paul

Reputation: 21

Cannot load xdebug error

Cannot load Xdebug - it was built with configuration API220090626,TS,VC9, whereas running engine is API220090626,NTS,VC9 and i seem to have had this problem without quite noticing until it comes to debugging php scripts and please can someone help me as i havent really tried to manage debug a php script scuessfully?

Upvotes: 0

Views: 5114

Answers (2)

smulholland2
smulholland2

Reputation: 1163

If you can load page with phpinfo() on it, look at the Architecture row. If its value is x86 you need the 32 bit version: PHP 5.4 VC9 TS (32 bit). If Architecture is x64, you need the 64 bit version: PHP 5.4 VC9 TS (64 bit).

Upvotes: 2

Machavity
Machavity

Reputation: 31624

It sounds like you're using PHP for Windows. There's two DLLs for xdebug since PHP comes in two flavors for Windows: Thread Safe(TS) and Non-Thread Safe(NTS). You also have to marry builds up (5.4 vs 5.5, 32 bit vs 64 bit)

Head over to the Xdebug download page and get the proper DLL.

Upvotes: 0

Related Questions