Warning: require(/host/home3/newhost/html/../app/Config/Paths.php): failed to open stream: No such file or directory in /host/home3/newhost/html/index.php on line 32
Warning: require(/host/home3/newhost/html/../app/Config/Paths.php): failed to open stream: No such file or directory in /host/home3/newhost/html/index.php on line 32
Fatal error: require(): Failed opening required '/host/home3/newhost/html/../app/Config/Paths.php' (include_path='.:/usr/share/pear:/usr/share/php') in /host/home3/newhost/html/index.php on line 32
접속하면 index.php에서 열수없다고 나오면서 제대로 실행이 되지가 않네요.
<?php
$minPHPVersion = '7.2';
if (phpversion() < $minPHPVersion)
{
die("Your PHP version must be {$minPHPVersion} or higher to run CodeIgniter. Current version: " . phpversion());
}
unset($minPHPVersion);
define('FCPATH', __DIR__ . DIRECTORY_SEPARATOR);
$pathsPath = realpath(FCPATH . '/host/home3/newhost/html/app/Config/Paths.php') ?: FCPATH . '/host/home3/newhost/html/app/Config/Paths.php';
chdir(__DIR__);
require $pathsPath;(오류뜨는 문구)
$paths = new Config\Paths();
$app = require rtrim($paths->systemDirectory, '/ ') . '/bootstrap.php';
$app->run();
index.php의 전문입니다.
어떻게 해결해야하나요?
패스를 안맞춰주니 못찾는 겁니다.
FCPATH 를 출력해보시고 위 패스를 그에 맞게 수정하세요.