Home  >  Article  >  Backend Development  >  How to solve the problem of missing msvcr110 in php-cgi

How to solve the problem of missing msvcr110 in php-cgi

PHPz
PHPzOriginal
2023-03-24 12:57:361270browse

If you are a PHP developer, you may encounter the "PHPCGI missing MSVCR110" problem. This problem may prevent your PHP application from working properly. This article will show you how to solve this problem.

  1. What is PHPCGI missing MSVCR110?

MSVCR110 is a component of Microsoft Visual C 2012 Redistributable. If this component is not installed on your computer, you may encounter the problem of PHPCGI missing MSVCR110. This issue causes PHP applications to not work properly.

  1. Solution

#In order to solve the problem of PHPCGI missing MSVCR110, you need to install the corresponding components of Microsoft Visual C 2012 Redistributable.

  • The first step is to download Microsoft Visual C 2012 Redistributable

You can download Microsoft Visual C 2012 Redistributable from the Microsoft website. Before downloading, please note your operating system and bitrate. If you're not sure, check your computer settings.

Link:https://www.microsoft.com/zh-cn/download/details.aspx?id=30679

  • Step two, install Microsoft Visual C 2012 Redistributable

After the download is complete, you need to run the installer and follow the instructions. During installation, you may need to restart your computer.

  • The third step, test your PHP application

After the installation is complete, please restart your PHP application. This issue should have been resolved. If your application still doesn't work, check that your PHP installation is configured correctly.

  1. Additional suggestions

In order to avoid the problem of PHPCGI losing MSVCR110, you can select "VC11 x86 Non Thread Safe" when installing PHP "Version. This version already includes the corresponding components of Microsoft Visual C 2012 Redistributable, so you do not need to install additional ones.

Also, you can view instructions on how to detect and install missing dependencies on the Microsoft official website.

  1. Conclusion

#In this article, we introduced the problem of PHPCGI missing MSVCR110 and how to solve it. Please ensure that the corresponding component of Microsoft Visual C 2012 Redistributable is installed on your computer, or select a PHP version that already contains this component. This way, you can use your PHP application normally.

The above is the detailed content of How to solve the problem of missing msvcr110 in php-cgi. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn