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