Home  >  Article  >  Backend Development  >  How to delete php in windows

How to delete php in windows

藏色散人
藏色散人Original
2020-10-19 11:14:378137browse

How to delete php in windows: first open the windows computer; then find the PHP folder and select to delete; then run CMD as an administrator to uninstall MySQL; finally stop the Apache service and restart the computer.

How to delete php in windows

Recommended: "PHP Video Tutorial"

windows PHP MySQL Apache Custom Environment Uninstallation

1.Uninstall PHP

Delete the PHP folder directly

2.Uninstall MySQL

1) Run CMD as administrator

Execute command: sc delete mysql

2) Clear the registry:

Enter "C:\Windows\regedit.exe" in the file explorer to pop up the registry

Delete the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL folder

If you can find the following content, delete it

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MySQL

3) If yes, C: \ProgramData\MySQL

Delete all contents under this folder

3. Uninstalling Apache

1) Stop the Apache service

2) Administrator Run cmd as identity

Execute the command: sc delete Apache2.4 (version)

3) Delete the file directory

Finally restart the computer

The above is the detailed content of How to delete php in windows. 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