PHPWarning: XdebugMUSTbeloadedasaZendextensioninUnknownonline0 solution

Source: Internet
Author: User
Tags zts
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.