当前位置:网站首页>The thinkphp5.1 runtime file has been changed to 777 permission, but cannot be written
The thinkphp5.1 runtime file has been changed to 777 permission, but cannot be written
2022-06-29 02:27:00 【hello php】
runtime The file has been changed to 777 It is still unable to write

Possible solutions :
(1) Modify the user group of the item , If the server is apache, It can be modified as follows
chown -R apache:apache runtime(2) If it still doesn't work , Please check out selinux Open or not
see selinux state
[[email protected] test]# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: enforcing
Mode from config file: enforcing
Policy version: 24
Policy from config file: targeted
see selinux Whether to shut down 、 Turn on
[[email protected] test]# getenforce
Enforcing
Temporarily Closed selinux:(#0 representative permissive,1 representative enforcing; It can also be used directly permissive and enforcing)
[[email protected] test]# setenforce 0
Permanent ban selinux
#vi /etc/selinux/config
#SELINUX=enforcing # Comment out
#SELINUXTYPE=targeted # Comment out
SELINUX=disabled # increase
:wq! # Save and exit
#setenforce 0 # Make the configuration take effect immediately
边栏推荐
- Download and installation of MySQL
- Day10 enumeration class and annotation
- CTFHub-Web-密码口令-弱口令
- Com3529 test analysis
- 【Redis】List类型
- SAP ui5 beginner tutorial 22 - development and use of filter
- PHP的exec函数
- Is it safe to contact the account manager online to open an account for stock speculation?
- 正则表达式(?:pattern)
- CTFHub-Web-SQL注入-整数型注入
猜你喜欢
随机推荐
微信小程序自定义组件
Differences between web testing and app testing
Set set
利用kubernetes资源锁完成自己的HA应用
Smart world 2030
The 10 most commonly used gadgets for waterfall project management can be built and used freely
Redis master-slave replication
e.target与e.currentTarget的区别
[redis] key hierarchy
[untitled]
对补wasm环境的一些测试
SAP ui5 beginner tutorial 22 - development and use of filter
【Redis】SortedSet类型
Flex application: realize two rows and five columns of data, self-adaptive
MySQL详解 --- 聚合与分组
Why should the pointer be null after delete
B1009 irony
11 go Foundation: Interface
微信运动自动点赞
Google Borg paper






![[redis] key hierarchy](/img/ab/a5d3bb61b4571966d0f47037af4f41.png)


