PHP Warning:xdebug must be loaded as a Zend extension in Unknown on line 0 workaround

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

  • 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.