PHPWarning: Unknown solution; extension = php_xdebug.dllzend_extension_ts = "X: \ php \ ext \ ph PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0 solution
; Extension = php_xdebug.dll
Zend_extension_ts = "X: \ php \ ext \ php_xdebug.dll"
?
In addition, according to 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 and decide whether to use zend_extension or zend_extension_ts.
?
Extension is an extension based on the php engine.
?
Zend_extension indicates zend-based extension
?
Note: php is based on the zend Engine.
?
After different extensions are installed, whether extension or zend_extension is used in php. 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.