PHP Extension Debug problem

Source: Internet
Author: User

Debug mode for PHP installation

./configure--prefix=/usr/local/php7.1.6-debug--with-curl--with-pcre-regex--enable-fpm--enable-opcache=no-- Enable-sockets --enable-debug

PHP extension also for debug mode

Vim CONFIG.M4

if " $PHP _DEBUG " ;        Then Ac_arg_enable (Debug, [--enable-debug compile with debugging system], [php_debug= $enableval],[php_debug=No]) Fi

/usr/local/php7.1.6-debug/bin/phpize &&/configure--with-php-config=/usr/local/php7.1.6-debug/bin/ Php-config --enable-debug && make && make install

But when/usr/local/php7.1.6-debug/bin/php-m|grep YAC, the hint

Module compiled with Build id=api20160303,nts

PHP compiled with build id=api20160303,nts, DEBUG

These options need to match

In Unknown on line 0

It is strange that the YAC module is already specified as debug when it is installed.

Later this article, meaning that after the installation of PHP, the installation of YAC, did not do clean , resulting in the new compilation option does not take effect

Solve:

Perform make clean

And then reinstall the YAC module.

PHP Extension Debug problem

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.