Apache VS17 binaries and modules download
php下载地址 PHP For Windows: Home
windows.php.net - /downloads/releases/archives/
历史版本下载
php下载 https://windows.php.net/downloads/releases/archives/php-5.6.37-Win32-VC11-x64.zip
https://www.apachehaus.com/downloads/httpd-2.4.55-o111s-x86-vs17.zip apach下载
httpd.exe -k install -n apache24 添加为服务
卸载服务 apache --service-uninstall
找对应的下载即可
注意:Win32的下载的话php和apache都是32
要64都是64位,要不不匹配,会报错
下载对应的版本
修改配置
listen 端口修改
rewrite_module 开启重写模块
DocumentRoot