@McScreech Thanks for answer, I had even saw something similar on stackoverflow where they had changed bootstrap locale
require dirname(dirname(__DIR__)) . '/apps/' . basename(__DIR__) . '/config/bootstrap.php';
But the later versions don’t have such a call: here is the index.php
<?php
if (php_sapi_name() === 'cli-server') {
$_SERVER['PHP_SELF'] = '/' . basename(__FILE__);
$url = parse_url(urldecode($_SERVER['REQUEST_URI']));
$file = __DIR__ . $url['path'];
if (strpos($url['path'], '..') === false && strpos($url['path'], '.') !== false && is_file($file)) {
return false;
}
}
require dirname(__DIR__) . '/../../cake34up/vendor/autoload.php';
use App\Application; ///////////These 2 lines mess things up as main cakephp is in higher folder
use Cake\Http\Server;
// Bind your application to the server.
$server = new Server(new Application(dirname(__DIR__) . '/../../cake34up/config'));
// Run the request/response through the application
// and emit the response.
$server->emit($server->run());
As you can see I tryed to repoint to the vendor and config folder, get nothing but a 500 error.
I will go through your answer and try again, thanks.
I wish cakephp had a simple index.php thay you could just point to main install with
/../../then whatever here