PHP compilation Error

Source: Internet
Author: User
Tags php compiler
php-5.3.28/ext/mysql/php_mysql.c:2266:undefined reference to ' _mysqlnd_fetch_lengths '
MySQL has been compiled, how can i solve this?


Reply to discussion (solution)

Please post the steps of your compilation

PHP compiler passed, starting Apache prompt: Cannot load modules/libphp5.so into server:/usr/local/apache/modules/libphp5.so:undefined Symbol:unixd_config

lnmp.org

The problem is not very clear ah, you compile PHP with the command to paste out to see

Should be Apache does not support PHP

PHP was compiled without adding AXPS2 to the Apache extension

Should be Apache does not support PHP

PHP was compiled without adding AXPS2 to the Apache extension
Add--with-apxs2.

Compile passed, reboot Apache appears unable to load dynamic library '/usr/local/php/include/php/ext/php_mysql.dll
How does this work?

This php_mysql.dll is in existence!

Compile passed, reboot Apache appears unable to load dynamic library '/usr/local/php/include/php/ext/php_mysql.dll
How does this work?
See if the php.ini has an extension that does not load MySQL, extension =php_ mysql.dll and/usr/local/php/include/php/ext/php_mysql.dll exist.

The above problem is resolved, restart Apache and new problems cannot load modules/libphp5.so into server:/usr/local/apache/modules/libphp5.so:undefined Symbol:php_escape_html_entities

Originally is the installation package problem, GZ package does not have to use BZ2 package

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