The error with the title is probably:
1. The module is loaded twice, so php -i|grep Configure, take a look at the configuration file and the include directory to see if there is a module with the same name in these files
2. When loading a module dynamically, there is a so named so
in the module directory and in php.iniIt will be easier to solve the above problem if you know it. First, look at the php configuration file and the files in the include directory, and organize the contents first. Then check extension_dir to see if the files in this directory are consistent with the file reference paths in include.