您的位置:首页 > 运维架构 > Apache

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

2017-01-01 22:15 846 查看

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

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  laragon apache php php5
相关文章推荐