First installtion of CaqkePHP 3.6

Good day,

I have built some 2.4 cakephp web application some years ago but to be sincerly, as I have not work on it, I need to refresh my mind. The latest version seam to have changed.

I just used Oven to installed CakePHP3.6 on the root (
Oven return me a success installation message.

On root folder of my 3.6 installation, I only see one folder : app.
However, on my previous web site (2,4), I can see server folders as

And of course, does not work. I have to enter
By the way, I also get an error message

outeBuilder::extensions() is deprecated

As I said, on root, I have a folder /app.
With 3.6, it’s the folder application?
I could dupplicate it to have server application?

Then How can I have link to /app. I can not manage that web server.
As I wrote, in my previous version (2.4) , there is a index.php file at the root



 * Requests collector.
 *  This file collects requests if:
 *	- no mod_rewrite is available or .htaccess files are not supported
 *  - requires App.baseUrl to be uncommented in app/Config/core.php
 *	- app/webroot is not set as a document root.
 * PHP 5
 * CakePHP(tm) : Rapid Development Framework (
 * Copyright 2005-2012, Cake Software Foundation, Inc. (
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (
 * @link CakePHP(tm) Project
 * @since         CakePHP(tm) v 0.2.9
 * @license       MIT License (

 *  Get Cake's root directory
define('APP_DIR', 'app');
define('ROOT', dirname(__FILE__));
define('WEBROOT_DIR', 'webroot');

 * This only needs to be changed if the "cake" directory is located
 * outside of the distributed structure.
 * Full path to the directory containing "cake". Do not add trailing directory separator
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
	define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'lib');

require APP_DIR . DS . WEBROOT_DIR . DS . 'index.php';

If I copy/past that file to my new root folder (3.6)
I got the following error message

Warning : require(/home/clients/1234/1234/lib/config/bootstrap.php): failed to open stream: No such file or directory in /home/clients/ee3f943e731fc0a12d3400116692186f/fox-uino/app/config/bootstrap.php on line 30

But there is no lib folder at root. However, I do not think it’s a good practice.

What do you suggest me for the best start with 3.6?

Thanks a lot

Thank for your help

The directory structure and internal implementation have changed greatly between 2.x and 3.x. I’d suggest that you start with the migration guides, starting with the one for version 3.0, then the various minor versions. There’s an upgrade tool, mentioned on that page, which can help with directory layout and naming schemes, but be prepared for a fair bit of manual work.

Also, why go to 3.6 instead of 3.8?