laragon 使用php5.* Service Apache can not start. Reason,laragonphp5.


Service Apache can not start. Reason


*laragon 2.1. 默认使用 php7.*, 当切换php版本到php5 就会出现 Service Apache can not start. Reason:
httpd: Syntax error on line 532 of …
mod_php.conf: Cannot load…**

如图:


原因可能是因为你的电脑没有安装 Visual C++ Redistributable for Visual Studio 2012
点击下载 vcredist_x86.exe 然后重启 Laragon 就解决了。

1

2

相关内容

    暂无相关文章