由于检测出漏洞需要升级到最新版本的apache,目前版本是2.4.39,升级到最新版本2.4.48
一、先官网下载最新版本2.4.48版本
二、解压后,放到phpstudy的Extensions目录下,停止旧版本并备份修改文件夹名,新版本2.4.48改成2.4.39,从旧版本中拷贝config文件到新版本中
三、根据新版本文档
You must first install the Visual C++ Redistributable for Visual Studio 2015-2019 x64.
Download and Install, if you have not done so already, see:
https://www.apachelounge.com/download/
先安装Visual C++ Redistributable。
四、更改phpstudy的Com文件夹下aKeyStart.ini中加载的apache版本为2.4.48
五、启动,可能会出现一些module加载不了的错误,从旧版本里拷贝到新版本里即可正常启动