PHP警告:模块“xxxxxxx”已在第0行的未知中加载,并重复写入error_log

o7jaxewo  于 2022-10-22  发布在  PHP
关注(0)|答案(1)|浏览(351)

我正在使用webhost(webhotelli.fi)来托管我的网站。我没有访问实际服务器的权限。cpanel中只有几个设置,因此我无法在自己的服务器上配置这些设置。上周,我注意到我的网站使用了比我实际拥有的更多的空间。我注意到error_log文件的大小为1.6 GIGAGBYTES。我删除它是为了从头开始。
发生的是,代码中的整个块被写入errorlogadinifitum,导致它每天增长几兆字节。
我已经向网络主机寻求帮助,他们尝试了一些东西,但还没有解决。他们最后建议mw在我的网站上将PHP版本从7.2切换到7.4。我做了,但什么也没做。
有人遇到过这种情况,并且有办法解决它吗?正如我所说,我个人无法在我的站点或代码中做任何事情,因为它都连接到实际的服务器。我甚至没有引用代码中error_log中提到的任何模块。

[23-Jul-2020 19:13:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqlnd_mysql.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqlnd_mysqli.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_mysqlnd.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'ixed.5.6.lin' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'wddx.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'bcmath' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'bz2' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'calendar' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'ctype' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'curl' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'dba' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'dom' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'enchant' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'exif' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'fileinfo' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'ftp' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'gd' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'gettext' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'gmp' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'iconv' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'imap' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'intl' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'json' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'ldap' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'mbstring' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'mysqlnd' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'odbc' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'PDO' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'pgsql' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'Phar' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'posix' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'pspell' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'shmop' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'SimpleXML' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'snmp' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'soap' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'sockets' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'sqlite3' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'sysvmsg' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'sysvsem' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'sysvshm' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'tokenizer' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'xml' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'xmlwriter' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'xsl' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'zip' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'PDO_ODBC' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'pdo_pgsql' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'xmlreader' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'xmlrpc' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'bcmath' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'bz2' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'calendar' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'ctype' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'curl' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'dba' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'dom' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'enchant' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'exif' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'fileinfo' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'ftp' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'gd' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'gettext' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'gmp' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'iconv' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'imap' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'intl' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'json' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'ldap' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'mbstring' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'mysqlnd' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqlnd_mysql.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqlnd_mysqli.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'odbc' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'PDO' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_mysqlnd.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'PDO_ODBC' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'pdo_pgsql' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'pgsql' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'Phar' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'posix' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'pspell' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'shmop' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'SimpleXML' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'snmp' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'soap' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'sockets' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'ixed.5.6.lin' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'sqlite3' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'sysvmsg' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'sysvsem' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'sysvshm' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'tokenizer' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'xml' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'wddx.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'xmlreader' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'xmlrpc' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'xmlwriter' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'xsl' already loaded in Unknown on line 0
[23-Jul-2020 19:13:48 UTC] PHP Warning:  Module 'zip' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqlnd_mysql.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqlnd_mysqli.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_mysqlnd.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'ixed.5.6.lin' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'wddx.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'bcmath' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'bz2' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'calendar' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'ctype' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'curl' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'dba' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'dom' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'enchant' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'exif' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'fileinfo' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'ftp' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'gd' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'gettext' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'gmp' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'iconv' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'imap' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'intl' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'json' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'ldap' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'mbstring' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'mysqlnd' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'odbc' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'PDO' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'pgsql' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'Phar' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'posix' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'pspell' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'shmop' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'SimpleXML' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'snmp' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'soap' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'sockets' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'sqlite3' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'sysvmsg' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'sysvsem' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'sysvshm' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'tokenizer' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'xml' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'xmlwriter' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'xsl' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'zip' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'PDO_ODBC' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'pdo_pgsql' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'xmlreader' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'xmlrpc' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'bcmath' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'bz2' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'calendar' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'ctype' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'curl' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'dba' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'dom' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'enchant' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'exif' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'fileinfo' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'ftp' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'gd' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'gettext' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'gmp' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'iconv' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'imap' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'intl' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'json' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'ldap' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'mbstring' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'mysqlnd' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqlnd_mysql.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqlnd_mysqli.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/mysqlnd_mysqli.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'odbc' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'PDO' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_mysqlnd.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/pdo_mysqlnd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'PDO_ODBC' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'pdo_pgsql' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'pgsql' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'Phar' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'posix' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'pspell' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'shmop' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'SimpleXML' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'snmp' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'soap' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'sockets' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'ixed.5.6.lin' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/ixed.5.6.lin.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'sqlite3' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'sysvmsg' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'sysvsem' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'sysvshm' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'tokenizer' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  Module 'xml' already loaded in Unknown on line 0
[23-Jul-2020 19:13:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'wddx.so' (tried: /opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so.so (/opt/cpanel/ea-php74/root/usr/lib64/php/modules/wddx.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
yqhsw0fo

yqhsw0fo1#

我在本地遇到了类似的问题(这是第一个搜索结果),我一直在看:
警告:模块“imap”已在第0行的未知中加载
所以我在我的PhpInfo上搜索IMAP。

php -r "echo phpinfo();" | grep imap

我看到两个“已解析的附加.ini文件”:

PHP Warning:  Module "imap" is already loaded in Unknown on line 0
Warning: Module "imap" is already loaded in Unknown on line 0
Additional .ini files parsed => /opt/homebrew/etc/php/8.0/conf.d/20-imap.ini,
/opt/homebrew/etc/php/8.0/conf.d/imap.ini
Protocols => dict, file, ftp, ftps, gopher, gophers, http, https, imap, imaps, ldap, ldaps, mqtt, pop3, pop3s, rtmp, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp
imap
imap.enable_insecure_rsh => Off => Off

我看了他们两个:

nano /opt/homebrew/etc/php/8.0/conf.d/20-imap.ini
nano /opt/homebrew/etc/php/8.0/conf.d/imap.ini

当我看到它们都是相同的时,我重命名了一个,所以它没有加载

mv /opt/homebrew/etc/php/8.0/conf.d/20-imap.ini /opt/homebrew/etc/php/8.0/conf.d/20-imap.ini.duplicate.old

相关问题