By A Web Design
Uninstalling PHP from a system requires a few easy steps.
Navigate to the drive where the php folder is located.
Select the folder.
Shift / Delete the folder from the drive as shown in Diagram 1.

Diagram 1
PHP is now totally removed from the system.
Next, navigate to C:\WINDOWS and search for a file named php.ini and select the file.
Shift /Delete this file from C:\WINDOWS as shown in Diagram 2.

Diagram 2
Next, navigate to C:\WINDOWS\system32 and search for a dll named libmysql.dll and select the file.
Shift / Delete this file from C:\WINDOWS\system32 as shown in Diagram 3.

Diagram 3
PHP has been completely removed from the system. It’s as simple as this.