I have added following lines into php.ini
[XDebug]
zend_extension = C:\\PROGRA~1\\PHP5\\ext\\php_xdebug-2.1.0-5.3-vc9.dll
xdebug.remote_enable=on
xdebug.remo
in my case the issue was the php.symlink file in the C:\wamp64\bin\apache\apache2.4.23\bin folder , this file links to the php.ini file existed in C:\wamp64\bin\php\php5.6.25 but apparently it wasn't working so i've deleted it and copy paste the actual php.ini to the same folder and it worked.
if you want to return the php.symlink back open cmd in the C:\wamp64\bin\apache\apache2.4.23\bin and write the following (windows):
mklink php.ini C:\wamp64\bin\php\php5.6.25\php.ini
replace the path to point to your php.ini inside your php file