0

I wanted to update a old project i've made. Its written in PHP version:5.2.17. When I downloaded the correct version for uWamp I recieve this error

httpd.exe: Syntax error on line 166 of C:/UwAmp/bin/apache/conf/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from.

Can somebody help me with this error?

4

1 回答 1

0

确保您拥有正确的 Visual C++ Redistributable x86,就像他们在下载页面上所说的那样。

相同的错误,但使用的是最近的 php 版本,已通过安装正确的文件进行了纠正。

在使用 UwAmp 之前,您必须安装 Visual C++ Redistributable x86 版本 vc_redist.x86.exe。这是 PHP 的要求。

  • 对于 PHP 旧版本,您需要:下载 VC6 2005 vc_redist.x86.exe
  • 对于 PHP 5.3,您需要:下载 VC9 2008 vc_redist.x86.exe
  • 对于 PHP 5.4+,您需要:下载 VC11 2012 vc_redist.x86.exe
  • 对于 PHP 7.x+,您需要:下载 VC14 2015 vc_redist.x86.exe
于 2016-04-13T15:43:45.060 回答