After a long time, this problem is finally solved. I will share my experience with you.
Add
Zend_extension = "C:/PHP/EXT/php_xdebug-2.0.5-5.3-vc6.dll" (the path should be noted that xdebug and PHP versions should be consistent)
Xdebug. remote_enable = on
Xdebug. remote_handler = dbgp
Xdebug. remote_host = localhost (by default, the host file of win7 does not have a ing from localhost to 127.0.0.1. You must add it yourself)
Xdebug. remote_port = 9000 (in netbeans {
Function onclick ()
{
Function onclick ()
{
Tagshow (Event)
}
}
} "> Debug port {
Function onclick ()
{
Function onclick ()
{
Tagshow (Event)
}
}
} "> The port is also set to 9000. Check whether the port is occupied)
Note: No other Zend-related {
Function onclick ()
{
Function onclick ()
{
Tagshow (Event)
}
}
} "> Statement. You must use IE or Firefox for debugging. Do not use a browser such as aoyou. Otherwise, xdebug cannot be connected.
The following describes the PHP extension method, which is very important.
Extension is an extension based on the PHP engine.
Zend_extension indicates Zend-based extension
Note: PHP is based on the Zend engine. Dizzy.
After different extensions are installed. whether extension or zend_extension is used in ini depends on the extension. Some extensions may only use zend_extension, such as xdebug. Some extensions can also use extension or zend_extension, such as mmcache.
Note: The above conclusions are not necessarily accurate.The full path is required for zend_extension to load PHP extensions, while the relative extension_dir path can be used for extension loading.
After zend_extension can be used, there are several possibilities:
Based on the PHP version, the zend_extension command can be one of the following:
Zend_extension (non ZTS, non debug build)
Zend_extension_ts (ZTS, non debug build)
Zend_extension_debug (non ZTS, debug build)
Zend_extension_debug_ts (ZTS, debug build)
ZTS: Zend thread safety
You can use phpinfo () to check whether ZTS is enabled.
Zend_extension or zend_extension_ts. Of course, you can give it a try.