Yes, you can deploy your cakephp site on shared hosting by uploading the files to the folder. However, you must follow a proper process.
First, structure the directory like this:
// webroot contents goes here
// necessary app directories go here
Change WWW_ROOT in mycakeapp/config/paths.php on line 52:
define(‘WWW_ROOT’, ‘/home/username/public_html/’ . DS);
Change the path to bootstrap.php defined in the webroot index.php file on line 28 (located at /home/username/public_html/index.php):
You should also note that shared hosting is not recommended for big websites. It is good enough for personal blogs, but not for business or startup websites. For that you should better go with infrastructures like DigitalOcean or Linode. Both are affordable and provide better performance and security. If you don’t know how to manage the servers yourself, you can go with some managed PHP mysql hosting service. With managed services, the service provider manage the servers for you.