首页 > 解决方案 > 无法在 Windows 中将 PHP 7.1 升级到 PHP 7.2

问题描述

我无法从 PHP 7.1 升级到 PHP 7.2。

我在下面下载这个。 https://windows.php.net/download#php-7.2-ts-VC15-x64

我将旧的 PHP 文件夹重命名为 php-older 并在 XAMPP 目录中创建一个新的 PHP 文件夹。我粘贴了下载的 zip 并在那里解压。每当我重新运行 Apache 时,都会发现以下错误。

phpMyAdmin - 错误缺少 mysqli 扩展。请检查您的 PHP 配置。有关更多信息,请参阅我们的文档。

[Wed Jun 03 17:42:39.321532 2020] [ssl:warn] [pid 9952:tid 536] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 03 17:42:39.476157 2020] [core:warn] [pid 9952:tid 536] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Jun 03 17:42:39.595071 2020] [ssl:warn] [pid 9952:tid 536] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 03 17:42:39.601067 2020] [mpm_winnt:notice] [pid 9952:tid 536] AH00455: Apache/2.4.39 (Win64) OpenSSL/1.0.2r PHP/7.2.31 configured -- resuming normal operations
[Wed Jun 03 17:42:39.601067 2020] [mpm_winnt:notice] [pid 9952:tid 536] AH00456: Apache Lounge VC14 Server built: Mar 31 2019 13:05:21
[Wed Jun 03 17:42:39.601067 2020] [core:notice] [pid 9952:tid 536] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Jun 03 17:42:39.605066 2020] [mpm_winnt:notice] [pid 9952:tid 536] AH00418: Parent: Created child process 16256
[Wed Jun 03 17:42:40.757201 2020] [ssl:warn] [pid 16256:tid 516] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 03 17:42:41.038429 2020] [ssl:warn] [pid 16256:tid 516] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Jun 03 17:42:41.054057 2020] [mpm_winnt:notice] [pid 16256:tid 516] AH00354: Child: Starting 150 worker threads.

标签: phpxampp

解决方案


推荐阅读