为什么我的 xampp 服务器在我更新时没有启动

why my xampp server is not starting when i updated it

为了更新PHP我下载了最新版本的XAMPP3.2.3安装到newxampp目录然后重命名为xampp 并且之前存在的 xampp 文件夹已重命名为 xamppp 或其他名称。现在 xampp 有最新的 PHP 版本,即 php7 但是当我 运行 Apache 和 MySQL 时,它没有启动并给我消息

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

我不知道该怎么办,请帮帮我。

有时在捆绑的服务器中,您定义了变量来设置 php 模块目录或其他部分的路径。因此,您应该先重命名旧目录,然后将新目录安装到您拥有 运行 版本的目录,并将需要的部分复制回新目录。

否则,我认为您在 运行 中遇到了一些问题。