yii运行环境
2015-09-14 09:59
429 查看
1、安装yii(解压缩basic压缩包)后修改apache2的document路径为basic/web/index.php。
2、访问网页如果报错mkdir没有权限,则修改/etc/apache2/envvar文件 将APACHE_RUN_USER=存在的所需用户 APACHE_RUN_GROUP=存在的所需用户组、
3、访问页面如果报错cookieValidationKey,则web.php,加入cookieValidationKey。
2、访问网页如果报错mkdir没有权限,则修改/etc/apache2/envvar文件 将APACHE_RUN_USER=存在的所需用户 APACHE_RUN_GROUP=存在的所需用户组、
3、访问页面如果报错cookieValidationKey,则web.php,加入cookieValidationKey。
相关文章推荐
- php出现Cannot modify header informat...
- php 邮件发送代码-php邮件群发
- Thinkphp基类库扩展
- 解决Yii2中刷新网页时验证码不刷新的问题
- php中关于mysqli和mysql区别的一些知识点分析
- php内网探测脚本&简单代理访问
- Thinkphp生成验证码
- php利用CURL查询天气预报
- php文件扩展名判断及获取文件扩展名的N种方法
- laravel 模型绑定
- PHP缓存加速器的安装
- php服务器版本更新工具up2server
- pptpd免radius限速、限连接+自由定制功能脚本
- laravel blog 二
- PHP级联菜单,非AJAX版
- thinkphp query对%处理
- ld: i386 architecture of input file `exit.o' is incompatible with i386:x86-64 output
- PHP流程控制if-else ,switch
- php各种坑之字符串
- PHP函数使用