【问题标题】:How to solve the Permission Error如何解决权限错误
【发布时间】:2013-04-04 18:25:07
【问题描述】:

我已经下载了minbill project from google code,并尝试在我的 wamp 服务器中运行。但它的 index.php 文件显示错误为,

项目config.php,有

/* Path Information */
//session_save_path:Make sure this is read and writable by the webserver user
$config['session_save_path']    = '/tmp';

//template_cache_dir:Make sure this is read and writable by the webserver user
$config['template_cache_dir']   = '/tmp';

在 win-7 中无法取消选中:

另一个问题是,当我取消选中 Window 7 Ultimate 中的只读按钮时,它会发生变化,但当我重新打开属性对话框时,属性仍然保持为蓝色框(如图所示)。但默认属性是蓝框本身。因此,我不认为这是错误的。

服务器:我正在使用 Wamp 服务器。 (在那个 MySQL 中)

而且,我有一个名为 /tmp 的目录。

【问题讨论】:

  • 您可能需要点击安全选项卡,点击管理员用户 -> 编辑... -> 点击完全控制复选框。如果您从那里修改权限,这应该有助于解决问题

标签: php mysql wamp config google-code


【解决方案1】:

尝试为您的/tmp 文件夹编写完整路径。

我看到你在 Windows 中,所以这应该看起来像 C:\your_project\tmp

【讨论】:

  • 对我有用。但是为什么 /temp 不起作用?这也是一个路径呐。 (虽然是相对路径),指的是同一个文件na。
【解决方案2】:

启动 wamp 安装的 FTP 服务器,通过 ftp 客户端连接到它,导航到 /tmp 文件夹并为 /tmp 和子目录授予文件夹权限 777。

【讨论】:

    猜你喜欢
    • 2014-09-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-04-06
    • 1970-01-01
    • 1970-01-01
    • 2022-01-15
    • 2012-10-23
    相关资源
    最近更新 更多