Apache未启动在XAMPP中将PHP 7.0.9升级到PHP 7.0.30之后

问题描述 投票:0回答:1

现在,我的xampp有php 7.0.9版本。现在,我想将它升级到php 7.0.30。所以,根据互联网上分享的指南和教程,我从下面的URL下载了线程安全的64位php 7.0.30:

Downloaded PHP 7.0.30 from Here

并将此文件夹放入xampp文件夹中。在此之后,我更新了xampp配置文件。

完成上述所有步骤后,当我尝试重新启动/启动apache时,它没有启动并向我显示以下错误:

Error: Apache shutdown unexpectedly.
5:47:27 PM  [Apache]    This may be due to a blocked port, missing dependencies, 
5:47:27 PM  [Apache]    improper privileges, a crash, or a shutdown by another method.
5:47:27 PM  [Apache]    Press the Logs button to view error logs and check
5:47:27 PM  [Apache]    the Windows Event Viewer for more clues
5:47:27 PM  [Apache]    If you need more help, copy and post this
5:47:27 PM  [Apache]    entire log window on the forums  

我甚至在关闭我的SKYPE后仍然尝试启动Apache但仍未启动。

有人可以帮我这个吗?

xampp php-7
1个回答
0
投票

而不是从php.net下载我有幸从sourceforge直接下载XAMPP的便携版本。然后,您可以从下载的zip中获取php目录(在重命名当前的php目录之后)将其复制到xampp目录中。

我发现我还必须将ng2http2.dll和libssh2.dll从(新)php目录复制到xampp / apache / bin目录(在重命名旧文件后再次)。

在快速检查新的php.ini文件并启动XAMPP服务器之后,我的本地站点加载了新版本。

上面的工作让我在Windows 10上从PHP 7.0.x升级到7.1.x.

© www.soinside.com 2019 - 2024. All rights reserved.