The documentation does not cover this. How do you remove cakephp from webroot (server webroot, not talking about cakephp webroot), having only the public files under webroot. By webroot I mean, lets us laravel as example and what is done
Here is sample folder structure +++++= a subfolder
in other words htdocs/larpubfolder
so laravel51 is main files out of webroot (htdocs is webroot in apache), directly under apache2
And in larpubfolder is the .htaccess and index.php file
Now how to do this for cakephp 3.4 and what files need modified?
As unbelievable as it sounds, there is nothing on the web about properly moving cakephp (not old version) out of webroot.
Here is laravel example: https://laravel-news.com/subfolder-install
Mainly what files to modify and how?