Home >Backend Development >PHP Tutorial >PHP Warning: Module 'modulename' already loaded in Problem Solution_PHP Tutorial
This article mainly introduces the solution to the problem PHP Warning: Module 'modulename' already loaded in. Summary of this article There are two situations, friends in need can refer to them
The error when the title appears 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.