[英]PHP 7 not working on windows 10
I have problem with getting php 7 work on windows 10. Wierd thing is that it worked. 我在Windows 10上运行php 7时遇到问题。奇怪的是它有效。 I have Ampps installed.
我安装了Ampps。 As I said php 7 worked but I had to switch to php 5.6.
正如我说php 7工作,但我不得不切换到PHP 5.6。 After switching back to php 7 apache did not start.
切换回php 7后,apache没有启动。
So I downloaded easyPHP to test php 7 (ampps is closed). 所以我下载了easyPHP来测试php 7(ampps已经关闭)。 I have the same thing.
我有相同的东西。 Php 5.6 is working but when I switch to php 7 apache is not starting and no info in error log.
PHP 5.6正在工作,但当我切换到PHP 7时,apache没有启动,错误日志中没有信息。
What could it be? 会是什么呢?
EDIT: I've tried to run PHP7's php.exe
from command line and got that error: No VCRUNTIME140.dll 编辑:我试图从命令行运行PHP7的
php.exe
并得到该错误:没有VCRUNTIME140.dll
PHP 5.6 PHP 5.6
PHP 7 PHP 7
No log change 没有日志更改
I found solution. 我找到了解决方案 Problem was that I didn't have
Visual C++ Redistributable for Visual Studio 2015
installed. 问题是我没有安装
Visual C++ Redistributable for Visual Studio 2015
。 https://www.microsoft.com/en-us/download/details.aspx?id=48145 https://www.microsoft.com/en-us/download/details.aspx?id=48145
But I had to use 32bit version - vc_redist.x86.exe
file 但我不得不使用32位版本
vc_redist.x86.exe
文件
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.