我正在尝试安装工艺 cms,但出现以下错误
Could not find your craft/ folder. Please ensure that $craftPath is set correctly in /var/www/index.php
这就是我的 index.php 文件夹的样子
<?php
// Path to your craft/ folder
$craftPath = '../craft';
// Do not edit below this line
$path = rtrim($craftPath, '/').'/app/index.php';
if (!is_file($path))
{
exit('Could not find your craft/ folder. Please ensure that <strong><code>$craftPath</code></strong> is set correctly in '.__FILE__);
}
require_once $path;
工艺文件夹只是www上面的一个目录,不明白为什么找不到它。
这是我的 apache2.conf 文件中我认为有所作为的部分,文件很大而且我不知道如何在 nano 中复制整个内容
Include /etc/phpmyadmin/apache.conf
DocumentRoot /var/www
ServerRoot "/etc/apache2"