Extension and zend_extension

Source: Internet
Author: User

There are two extensions in PHP.


MySQL generally belongs to extension, while xdebug is zend_extension.


Error Message

Notice: PhP message: PhP warning: xdebug must be loaded as a Zend Extension

Analysis:


The MySQL extension configuration is as follows:

Extension = mysql. So


Xdebug Extension: note that you need to add a red path. Otherwise, an error will occur.

In addition, html_errors = on is enabled.

[Xdebug]

Zend_extension =/usr/lib64/PHP/modules/xdebug. So

Xdebug. auto_trace = on

Xdebug. auto_profile = on

Xdebug. collect_params = on

Xdebug. collect_return = on

Xdebug. profiler_enable = on

Xdebug. trace_output_dir = "/tmp"

Xdebug. profiler_output_dir = "/tmp"

Xdebug. Dump. Get = *

Xdebug. Dump. Post = *

Xdebug. Dump. Cookie = *

Xdebug. Dump. Session = *

Xdebug. var_display_max_data = 4056


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.