Meet
session_start () :
open (/ var/opt/remi php72/lib/PHP/session/sess_4ofga8ehv8s2ct2b9dnn40qtp2, O_RDWR) failed: Permission denied (13)
Error message
session_start(): open(/var/opt/remi/php72/lib/php/session/sess_4ofga8ehv8s2ct2b9dnn40qtp2, O_RDWR) failed: Permission denied (13)
Solutions:
sudo chmod 1733 [报错的session的路径]
The solution for the above example is as follows
sudo chmod 1733 /var/opt/remi/php72/lib/php/session
Refer to the article
Read More:
- session_ start(): open(SESSION_ FILE, O_ Rdwr)) failed: processing of permission denied (13)
- PHP error Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error:
- ERROR: While executing gem … (Errno::EACCES) Permission denied @ dir_s_mkdir – /var/lib/gems
- Tensorflow with tf.Session The usage of () as sess
- Solve the problem of dynamically applying for permission, but still reporting an error of open failed: eacces (permission denied)
- Android has applied for permission and still prompts open failed: eacces (permission denied)
- PHP link database error PHP_ network_ getaddresses: getaddrinfo failed: Name or service not known
- move_uploaded_file() failed to open stream: Permission denied
- Unhandled rejection Error: EACCES: permission denied, open ‘/Users
- NPM ERR! Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’
- error: cannot open .git/FETCH_ Head: permission denied resolved
- PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[08004] [1040] Too many connections
- Error in installing Matplotlib Library: permissionerror: [errno 13] permission denied: ‘/ usr / local / lib / python3.6’
- After upgrading php7, PHP program prompts an error: operator not supported for strings in causes and Solutions
- php Error failed to open stream: HTTP request failed!
- Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’ npm ERR! at Error (native)
- An idea to solve Warning move_uploaded_file, failed to open stream in the process of php uploading files
- PHP – PHP Error[2]: Error while sending QUERY packet. PID=*
- Solutions for permission denied
- Permission error: [errno 13] permission denied: ‘… ” xxx.pyd ‘