Home  >  Article  >  Backend Development  >  What should I do if php is not a valid win32 program?

What should I do if php is not a valid win32 program?

藏色散人
藏色散人Original
2020-07-07 11:11:502772browse

The solution to the problem that php is not a valid win32 program: 1. Re-download the installation file from the official website and reinstall the php program; 2. When starting the computer, press the F8 key continuously to enter safe mode and start the anti-virus Use software to thoroughly scan and kill viruses; 3. Re-establish file associations.

What should I do if php is not a valid win32 program?

php.exe is not a valid win32 application

1. For the first case:

It is often due to incomplete installation source files or unsuccessful program installation. We can re-download the installation files from the official website and reinstall the program. Sometimes the download tool you choose is also the main reason for this situation. If necessary, you can try different tools for downloading.

2. For the second situation:

When we install multiple software and receive this prompt, it may be that our exe file association has been destroyed by a virus.

We can solve it in two steps:

Antivirus

When starting the computer, press the F8 key continuously to enter the safe mode, and start the anti-virus software to completely check and kill the virus. This step is very necessary, and it is also the key to avoid recurrence after using the second step of repair

3. Re-establish the file association

Press the "R key Windows key" at the same time and type "regedit" and press Enter, open the Registry Editor

Delete the following key values ​​(if any):

HKEY_CLASSES_ROOT\.exe
HKEY_CLASSES_ROOT\exe_auto_file
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\EXE

Restart, open the Registry Editor again according to step 1, and confirm the step 1 The key value in step 2 was deleted and was not generated again

For more related knowledge, please visit PHP Chinese website!

The above is the detailed content of What should I do if php is not a valid win32 program?. 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