V
V
ViktorGuerro2019-12-02 14:35:53
CentOS
ViktorGuerro, 2019-12-02 14:35:53

How to properly raise OpenCart on CentOS 7?

Raised on a CentOS 7 virtual machine with MySql+php7+apache. I uploaded OpenCart, and when I run ".../www/install/index.php" it gives errors from the file ".../www/system/library/session/file.php":

Mistake:

Warning: fopen(/web/***/www/system/storage/session//sess_3b7b8c69c3e79b35f77297c627): failed to open stream: Permission denied in /web/***/www/system/library/session/file.php on line 29
Warning: flock() expects parameter 1 to be resource, boolean given in /web/***/www/system/library/session/file.php on line 31
Warning: fwrite() expects parameter 1 to be resource, boolean given in /web/***/www/system/library/session/file.php on line 33
Warning: fflush() expects parameter 1 to be resource, boolean given in /web/***/www/system/library/session/file.php on line 35
Warning: flock() expects parameter 1 to be resource, boolean given in /web/***/www/system/library/session/file.php on line 37
Warning: fclose() expects parameter 1 to be resource, boolean given in /web/***/www/system/library/session/file.php on line 39

P.S. ***- тут домен, просто начальник двинутый на безопасности и анонимности

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Ryzhkin, 2019-12-02
@ViktorGuerro

"Permission denied" - it says right there in black pixels on white - there are not enough permissions.
Check folder permissions. Most likely, the user under whom the web server is running does not have rights to this folder.
Correct this mistake, and others may follow.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question