php - How do I setup Zend Debugger in Eclipse? -


I am trying to establish my first PHP development environment and I have a lot of problem for the debug environment Hit or hit more accurate breakpoints.

Here I have done

1.) It has been confirmed that PHP is working on my Apache server on Windows. I did this by creating a trial index.php file in phpinfo ().

2.) I have installed Zend Debugger in Eclipse.

3.) I have setup my php.ini file with the following code.

  [zend] zend_extension_ts = "c: /php/ext/ZendDebugger.dll" Zend_debugger.allow_hosts = 127.0.0.1 / 32 zend_debugger.expose_remotely = always   < P> 4.) I have opened a port for debugger in the Windows firewall, in my case, Eclipse says that Zed is using 10000  

5.) I have added the dummy.php file to my document root directory.

6.) I have restarted Apache after all this.

7.) When I test my debugger in Eclipse, I get the following error message.

Zend error

8) When I'm in the recommended section I see. I see it.

Enter image details here

< The most likely cause is the incorrect configuration of PHP. Check phpinfo () if you have the Zend Debugger section and your configuration is valid. Please.

phpinfo () Jade Debugger Entry

Note that The _ts suffix is ​​for zend_debugger_ts for thread safety if you have PHP 5.3 or higher, or you have thread enabled security (you can see it on phpinfo ()) , You must use the zend_debugger command instead of zend_debugger_ts .

In addition to expose_remotely the value accepts 0 (never), 1 (always) and 2 (allowed host); Any other value makes the Zend debugger unreliable.

Comments