php7ts.dll cannot load into server

做~自己de王妃 提交于 2021-01-27 18:10:30

问题


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?

thanks in advance...


回答1:


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

  • 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)

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.



来源:https://stackoverflow.com/questions/50416939/php7ts-dll-cannot-load-into-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!