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.
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!