[英]Apache server don't load extensions (Windows 10, PHP 8.0.12, Apache 2.4.46, (WAMP3.2.3))
Apache don't load some modules. Apache 不加载某些模块。 I need to use phpMyAdmin but it says mysqli is missing.我需要使用 phpMyAdmin 但它说缺少 mysqli。 I'm stuck with this since days... Thanks for your help !我已经坚持了几天......感谢您的帮助! Tell me what informations you need... I've set my path in my php.ini used by Apache this way :告诉我你需要什么信息......我已经在我的 php.ini 中设置了我的 Apache 使用的路径:
; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
;extension_dir = "./"
; On windows:
extension_dir = C:/wamp64/bin/php/php8.0.12/ext
upload_tmp_dir = C:/wamp64/tmp
error_log = C:/wamp64/tmp
my wampserver.conf is set this way :我的 wampserver.conf 是这样设置的:
<?php
$phpConf['phpIniDir'] = '.';
$phpConf['phpExeDir'] = '.';
$phpConf['phpConfFile'] = 'php.ini';
$phpConf['apache']['2.2']['LoadModuleName'] = 'php5_module';
$phpConf['apache']['2.2']['LoadModuleFile'] = 'php5apache2_2.dll';
$phpConf['apache']['2.2']['AddModule'] = '';
$phpConf['apache']['2.4']['LoadModuleName'] = 'php_module';
$phpConf['apache']['2.4']['LoadModuleFile'] = 'php8apache2_4.dll';
$phpConf['apache']['2.4']['AddModule'] = '';
?>
Some modules are loaded but others are not, here there's a picture to illustrate my problem :一些模块已加载,但其他模块未加载,这里有一张图片来说明我的问题:
Update WAMPManager to be able to use the latest versions of PHP Apache etc更新 WAMPManager 以便能够使用最新版本的 PHP Apache 等
You can find the latest updates to WAMPmanager and the latest ADDONs on the WAMPServer Backup Repo您可以在WAMPServer Backup Repo上找到 WAMPmanager 的最新更新和最新的 ADDON
Its easier to navigate than SourceForge它比 SourceForge 更容易导航
Updates only "Wampmanager", does not add any Apache PHP, MySQL or MariaDB versions.仅更新“Wampmanager”,不添加任何 Apache PHP、MySQL 或 MariaDB 版本。 It is a cumulative update.这是一个累积更新。 It is not necessary to apply the old updates 3.0.1 to 3.2.4 before applying 3.2.5.在应用 3.2.5 之前没有必要应用旧的更新 3.0.1 到 3.2.4。 There will be no changes to your Apache, PHP, MySQL, MariaDB settings and versions used;您使用的 Apache、PHP、MySQL、MariaDB 设置和版本不会发生变化; your local sites and databases will not be affected.您的本地站点和数据库不会受到影响。 This update is necessary to install the latest Apache, PHP, MySQL or MariaDB addons.此更新是安装最新的 Apache、PHP、MySQL 或 MariaDB 插件所必需的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.