This PHP version 8.1.31 is used by WampServer in CLI mode. If you delete it, WampServer won't work anymore.