That is not the proper way to uninstall EHCP.
EHCP is PHP software. It does however setup your web server with the base web server packages. As such, there's not really a good way to uninstall EHCP since it would require removing the base web server packages as well. You could always delete the /var/www/new/ehcp folder, the ehcp database, and try again, but you'll still need the root MySQL user password.