apache添加php模块后无法启动了

772807886 2015-04-07 10:37:55
出现这个问题:

就是那个LoadModule和AddType,一加上就无法运行,去掉就好了。

VC++应该是装全的吧。。。

php的路径应该也没有问题啊。。。

这是错误日志文件:
...全文
499 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
等待时候 2015-04-08
  • 打赏
  • 举报
回复
厉害!
772807886 2015-04-07
  • 打赏
  • 举报
回复
刚到php官网http://windows.php.net/download#php-5.6上看了下,才注意到页面左边有这样一段话: Apache Please use the Apache builds provided by Apache Lounge. They also provide VC11 builds of Apache for x86 and x64. We use their binaries to build the Apache SAPIs. If you are using PHP with Apache 1 or Apache2 fromapache.org (not recommended) you need to use the older VC6 versions of PHP compiled with the legacy Visual Studio 6 compiler. Do NOT use VC9+ versions of PHP with the apache.org binaries. With Apache you have to use the Thread Safe (TS) versions of PHP. 大概了解了Apache不支持VC9+的PHP版本,而我下载的PHP5.6是VC11的,所以不支持,重新下载了一个php5.4.39版本的,现在好了。。

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧