php7ts.dll 无法加载到服务器 [英] php7ts.dll cannot load into server

查看:50
本文介绍了php7ts.dll 无法加载到服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我已经安装了php7,但是当我重新启动apache时,它无法启动.尽管我编辑了 httpd-xampp.conf 文件来配置 php7.无论如何我去了C:/xampp并运行apache_start.bat,然后我看到了以下错误

Today I have installed php7, but when I restart the apache, it couldn't start. again despite I edited the httpd-xampp.conf file to config php7. anyway I went to C:/xampp and run the apache_start.bat, then I saw the following error

Apache 2 is starting ...

httpd.exe: Syntax error on line 456 of C:/xampp/apache/conf/httpd.conf: Syntax error on line 17 of C:/xampp/apache/conf/extra/httpd-xampp.conf: Cannot load C:/xampp/php/php7ts.dll into server: The specified module could not be found.

之后我检查了这些文件,发现它们存在.我现在能做什么?

after that I checked those file and saw they're exist. what can I do now?

提前致谢...

推荐答案

您需要将所有组件安装在相同的 x64/x86 版本中:

You need to have all the components installed in the same x64/x86 version :

  • Apache (httpd.exe -v 找出安装了哪个)
  • PHP 7(php.exe -v 以找出安装了哪个)
  • Visual C++ Redistributable for Visual Studio 2015(检查您在 Windows 上安装的软件列表)
  • Apache (httpd.exe -v to find out which one is installed)
  • PHP 7 (php.exe -v to find out which one is installed)
  • Visual C++ Redistributable for Visual Studio 2015 (check the list of your installed softwares on Windows)

如果上述组件之一与其他组件的版本不同,您可能会收到module could not be found 错误.

If one of the above component is not in the same version than the others, you could get the module could not be found error.

这篇关于php7ts.dll 无法加载到服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆