PHP Warning:xdebug must be loaded as a Zend extension in Unknown on line 0 workaround
; Extension=php_xdebug.dll
Zend_extension_ts= "X:\php\ext\php_xdebug.dll"
?
Another: Depending on the PHP version, the zend_extension directive 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 see whether ZTS is enabled by Phpinfo () to determine zend_extension or zend_extension_ts.
?
Extension is a PHP engine-based extension
?
Zend_extension is an extension based on the Zend engine
?
Note: PHP is based on the Zend engine
?
After the different extensions are installed, it is extension or zend_extension in the php.ini, depending on the extension,
Some extensions may only be used with zend_extension, such as Xdebug,
There are also extensions that can be used extension or zend_extension, such as MMCache. ?
?
Note: The above conclusions are not guaranteed to be accurate.
?
Zend_extension load the PHP extension with a full path, while the extension can be loaded with a relative extension_dir path.