Error install OJS 3.1.2 centos linux

Hi all

I try install ojs in a machine linux centos when I executed the installation it shown this errors

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-8c15ce7dfec31e437114d80f1f936272.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-1cfde42be2b25bdac1c9a16538de37a8.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-bd5c206da51bbced3459ba28293d2752.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-6e65123f6e5caca2e7dca0b85b124ec8.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-dad7d669be7f60d48e93f930da285fda.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-32de70b612cc9ebdfae5a7ddba703f7f.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-005a065b9c7e47fe8ec5e93cc24d9658.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-a4deb866f215617d15a1dc72591272c2.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-1637b50d04b69cf5e16bd0bbf9b277ff.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-95d24e09ab8af6f9bb8a02f637efbefb.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-465dd785313a94efc09bcc5e0d2e20cf.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-01e94dde238387b6d491636e431c752c.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-c95d7911b8b0da12d45eb2b0c884164c.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-f94bd7474203d823e291319a7258c6c4.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-f0d95be66a424ed312397f8f0613757f.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-5137a1280b1086f54885b488948ffabd.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-a7a4b1f73f3b922eb712521db2537797.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-ca1b6d8a4e76111861b2582e96bea836.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-ec5d456a4a273bb3ef10a63412bd72e7.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-30ade3af71c390241cfe899534e36d36.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-d952a9a976b0c89a36ab9785d928080a.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-d361f6493b84f04da16487147dee41ca.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-f90252dc6a63da3f259c3add542b2e84.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-d20be57bb305d999dbcf073bb906a2aa.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-358c56f5ace75e00d521d5b534a8c845.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-1e181fa9791b0dc1c5d9939b82f50e34.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : file_put_contents(/var/www/html/ojs/cache/fc-locale-64b0f9e2ab826b49e3e93a096aba8259.php): failed to open stream: Permission denied in /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning : Cannot modify header information - headers already sent by (output started at /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php:90) in /var/www/html/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 836

Warning : Cannot modify header information - headers already sent by (output started at /var/www/html/ojs/lib/pkp/classes/cache/FileCache.inc.php:90) in /var/www/html/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 837

Fatal error : Uncaught → Smarty: unable to write file /var/www/html/ojs/cache/t_compile/wrt5d2f44152adda4_63381337 ← thrown in /var/www/html/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php on line 60

I following the instructions of PKP for the permissions but not working

I hope someone can help me

Does the OJS/APAche user have write access to /var/www/html/ojs/lib/pkp/classes/cache?

-Dale

I’m just going to guess that you need to chown the directory where the OJS files are. If you extracted the tarball logged in as a superuser, but you’re running apache using a different user, then you might get something like that.

I am not an expert, and may be wrong, but I think I might have done something like that before.

Hi poulterd

imagen

in the image above are the permissions

I find the solution I gave the corresponding permissions to folders and directories and disable the selinux.