pdo-php version Issue

Source: Internet
Author: User
The same server sees the 5.6 thread-safe version when the Web page calls Phpinfo (), but the CLI sees 5.4 non-thread-safe. php file hint under CLI Unable to load dynamic library '/usr/lib64/php /modules/pdo.so ' undefined symbol:executor_globals_id, unable to load dynamic library '/usr/lib64/php/modules/pdo_ mysql.so ' undefined symbol:core_globals_id

How does this work? How to upgrade the CLI to 5.6 or thread safe

Reply content:

The same server sees the 5.6 thread-safe version when the Web page calls Phpinfo (), but the CLI sees 5.4 non-thread-safe. php file hint under CLI Unable to load dynamic library '/usr/lib64/php /modules/pdo.so ' undefined symbol:executor_globals_id, unable to load dynamic library '/usr/lib64/php/modules/pdo_ mysql.so ' undefined symbol:core_globals_id

How does this work? How to upgrade the CLI to 5.6 or thread safe

You installed two versions, look for 5.6 of the path, under the CLI to execute 5.6 of PHP can be

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