简体   繁体   English

Apache 服务器不加载扩展(Windows 10、PHP 8.0.12、Apache 2.4.46、(WAMP3.2.3))

[英]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.

相关问题 如何在 Windows 上使用 php 7.4.9 和 WAMP 使用 Apache 2.4.46 安装 mongodb - How to install mongodb with php 7.4.9 and WAMP with Apache 2.4.46 on Windows Forbidden 您无权访问此资源。 Apache/2.4.46 (Win64) OpenSSL/1.1.1g PHP/7.2.34 服务器在 localhost 端口 80 - Forbidden You don't have permission to access this resource. Apache/2.4.46 (Win64) OpenSSL/1.1.1g PHP/7.2.34 Server at localhost Port 80 Apache无法在Mojave上加载PHP扩展 - Apache can't load PHP extensions on Mojave Apache启动时不会加载PHP扩展 - PHP extensions won't load on Apache startup 不断收到错误:WAMP 中 c:/wamp64/bin/apache/apache2.4.46/bin/php.ini 中的意外 &#39;(&#39; - Keep getting error: unexpected '(' in c:/wamp64/bin/apache/apache2.4.46/bin/php.ini in WAMP Apache Windows 10 ,404 未找到错误 (Wamp) - Apache Windows 10 ,404 Not Found Error (Wamp) Microsoft SQL PHP 扩展不会在 Apache 启动时加载 - Microsoft SQL PHP extensions won't load on Apache startup 在Windows WAMP Server上安装Apache Solr - Installing Apache Solr on Windows WAMP Server Apache 2.4、PHP 7.4.7、Windows 10 无法从 Apache 服务加载 cURL 扩展,但可以通过 httpd 从命令行加载 - Apache 2.4, PHP 7.4.7, Windows 10 can't load cURL Extension from Apache Service but loads fine from Command Line with httpd WAMP服务器Apache无法启动 - WAMP Server Apache won't start
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM