PHP 7: Missing VCRUNTIME140.dll

前端 未结 9 1337
盖世英雄少女心
盖世英雄少女心 2020-12-07 13:49

I have an error when I start PHP 7 on Windows. When I run php on the command line, it returns a message box with system error:

The p

相关标签:
9条回答
  • 2020-12-07 14:16

    Visual C++ Redistributable for Visual Studio 2015 (x32 bit version) - RC.

    This should correct that. You can google for what the DLL is, but that's not important.

    PS: It's officially from Microsoft too:)

    Where I found it: Downloads (Visual Studio)

    0 讨论(0)
  • 2020-12-07 14:16

    Usually this is an error in your PHP configuration.

    It's actually pretty easy to figure out what exactly is going on:

    • Create a small file (test.php) with the standard phpinfo() script
    • Open a command prompt
    • Start php manually using the small file, e.g. '"\program files\php\php.exe" test.php
    • Read the error messages :-)
    0 讨论(0)
  • 2020-12-07 14:20

    I had the same issue, I changed the ports, restarted the services but in vein, only worked for me when I updated the Microsoft Visual c++ files

    0 讨论(0)
提交回复
热议问题