Cakephp首次安装没有得到合适的页面

时间:2016-06-03 22:07:07

标签: cakephp cakephp-3.0

伙计我刚刚使用作曲家按照官方手册http://book.cakephp.org/3.0/en/installation.html中的步骤安装了Cakephp 3.2,而我获得了第一个主页,我得到了一个包含此代码的页面:

   <?php
/**
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @since         0.10.0
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
 */

require 'webroot' . DIRECTORY_SEPARATOR . 'index.php';

你有什么想法可能有什么不对吗?

1 个答案:

答案 0 :(得分:0)

我发现了概率,是所有者权限。

chown -R www-data:www-data test1cake/