Hello everybody,
I have some really odd issue. As soon as I enable XDebug in the php.ini for WAMP and I restart Apache I can no longer load any webpage because I get the error:
Parse error: syntax error, unexpected ';', expecting ',' or ')' in xdebug conditional breakpoint on line 1
As soon as I set
xdebug.remote_enable = 0
then reload Apache, everything comes back.
I have had this issue ever since installing WAMP 3 and PHP 7.0.0 and any subsequent PHP 7 versions. Updated to WAMP 3.0.4 but the error persists.
On this installation I also have PHP 5.6.16 and the same XDebug settings work fine there. I am suspecting it has something to do with the DLLs but this is out of my league.
The XDebug binary I am using is php_xdebug-2.4.0-7.0-vc14-x86_64.dll. I have also installed the wampserver3_x64_update_xdebug_2.4.0.exe to get a fresh copy but still no go. The same error persists.
If anybody can shed some light on this it is appreciated.
Kind regards,
RolandD
I have some really odd issue. As soon as I enable XDebug in the php.ini for WAMP and I restart Apache I can no longer load any webpage because I get the error:
Parse error: syntax error, unexpected ';', expecting ',' or ')' in xdebug conditional breakpoint on line 1
As soon as I set
xdebug.remote_enable = 0
then reload Apache, everything comes back.
I have had this issue ever since installing WAMP 3 and PHP 7.0.0 and any subsequent PHP 7 versions. Updated to WAMP 3.0.4 but the error persists.
On this installation I also have PHP 5.6.16 and the same XDebug settings work fine there. I am suspecting it has something to do with the DLLs but this is out of my league.
The XDebug binary I am using is php_xdebug-2.4.0-7.0-vc14-x86_64.dll. I have also installed the wampserver3_x64_update_xdebug_2.4.0.exe to get a fresh copy but still no go. The same error persists.
If anybody can shed some light on this it is appreciated.
Kind regards,
RolandD