Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/235.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/60.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何解决权限错误_Php_Mysql_Wamp_Config_Google Code - Fatal编程技术网

Php 如何解决权限错误

Php 如何解决权限错误,php,mysql,wamp,config,google-code,Php,Mysql,Wamp,Config,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

我已下载,并尝试在我的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中无法承受:

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

服务器:我正在使用Wamp服务器。(以该格式)

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

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


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

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

您可能需要单击安全选项卡,单击管理用户->编辑…->单击完全控制复选框。这应该有助于解决问题,如果你修补的权限,从特里亚它为我工作。但是为什么/temp不工作呢?这也是一条道路。(尽管它是一个相对路径),但它引用的是同一个文件。