XAMPP: Error Unable to load dynamic library solution

Source: Internet
Author: User
Tags php error zts

A PHP Error was encounteredseverity: Core warningmessageobjectfilefile or Directoryfilename:number: 0backtrace:

This is the case:

I installed the XAMPP kit on Linux, and in the ETC directory there is a php.ini

Note that this INI file is actually working on the win platform, if the extension inside, such as; Extension=php_pdo_mysql.dll, when you remove the semicolon, the Linux environment will be an error

However, in the Linux environment, even if you do not remove the semicolon, the extension is actually open, that is, the above method is only valid for the win platform. Here are the answers from other netizens

I've tried it myself, and I've struggled with it, but later found out that PHP.ini's extension setup seemed to be for win,linux even if I didn't turn it on Extension=php_curl.dll;extension=php_ Mysql.dll This option also uses the same functionality.
Linux under XAMPP If these things are turned on, the PHP service will have problems,

PHP warning:php startup:unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20100525/php_ Mysql.dll '-/opt/lampp/lib/php/extensions/no-debug-non-zts-20100525/php_mysql.dll:invalid ELF header in Unknown on Line 0

The DLL file you opened is not found, in essence these DLL files are present in Win XAMPP. So speculate that Linux perfect integration is not allowed to open additional options.

XAMPP: Error Unable to load dynamic library solution

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.