tags:

views:

240

answers:

2

I am trying to install xdebug on wamp server. With this code:

 zend_extension_ts="c:/wamp/bin/php/php5.3.0/ext/php_xdebug-2.1.0RC1-5.3-vc9.dll"
 xdebug.default_enable = on
 xdebug.remote_enable = 1
 xdebug.remote_port = 9000
 xdebug.remote_host = localhost

And apache error log:

PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.0/ext/php_xdebug-2.1.0RC1-5.2-vc6-nts.dll' - The specified module could not be found.\r\n   in Unknown on line 0
<br />
 <b>Warning</b>:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.0  /ext/php_xdebug-2.1.0RC1-5.2-vc6-nts.dll' - The specified module could not be found.

I cant see xdebug in phpinfo page. What is wrong :(

A: 

Did you edit the right php.ini?

<?php echo 'ini: ', get_cfg_var('cfg_file_path');

can tell you.

If (and when) you've edited the correct .ini file are there any php startup errors in the apache log (apache_error.log)?

VolkerK
@VolkerK;Thanks for HelpI have edited the right php.ini.Error log:PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.0/ext/php_xdebug-2.1.0RC1-5.2-vc6-nts.dll' - The specified module could not be found.\r\n in Unknown on line 0<br /> <b>Warning</b>: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.0 /ext/php_xdebug-2.1.0RC1-5.2-vc6-nts.dll' - The specified module could not be found.
+1  A: 

The syntax used for loading the module is the php 5.2 version. For php5.3 use zend_extension=module_path/name

Phil