2019-03-16 15:20
浏览 60


In order to update PHP I downloaded the latest version of XAMPP which is 3.2.3 and installed it in the newxampp directory and then I renamed it to xampp and the previously present xampp folder was renamed to xamppp or something. Now the current xampp has the latest PHP version which is php7 but when I run the Apache and MySQL, it does not start and give me the message

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

I don't know what to do please help me.

图片转代码服务由CSDN问答提供 功能建议

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

 [Apache] Windows事件查看器以获取更多线索
 [Apache]整个日志窗口 在论坛上


  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dqayok7935
    dqayok7935 2019-03-16 16:01

    Sometimes in that bundled servers you have defined variables that set the path for the php module directory or some other parts. So you should rename the old directory first then install the new one to that directory that you have a running version and copy the needed parts back to the new one.

    Otherwise i think you get some problems in running it.

    点赞 评论