Multiple Installation of 2.x in Shared Hosting

Good day!

I wanted to know how to handle multiple installation of CakePHP on a Shared Hosting given that the the base folder (public_html in my case) already holds a CakePHP installation. Could this be resolved via .htaccess alone? Softaculous installation only uses the latest 3.x and I haven’t migrated just yet from 2.x

If via .htaccess could solve this, could you please show me how?

Any brilliant advice on how I would handle this?
Thanks!