Welcome Guest, Not a member yet? Register   Sign In
Permission denied in /public/index.php on line 28
(This post was last modified: 02-16-2021, 05:25 PM by brabus.)

Warning: require(/var/www/html/l2d_l2j/public/../app/Config/Paths.php): Failed to open stream: Permission denied in /var/www/html/l2d_l2j/public/index.php on line 28

Fatal error: Uncaught Error: Failed opening required '/var/www/html/l2d_l2j/public/../app/Config/Paths.php' (include_path='.:') in /var/www/html/l2d_l2j/public/index.php:28 Stack trace: #0 {main} thrown in /var/www/html/l2d_l2j/public/index.php on line 28

CI 4.1.1

Files downloaded & installed manually from framework-4.1.1.zip, seems by default incorrect permissions in zip file.. After sudo chmod -R 777 /var/www/html/l2d_l2j - it works.. Starting with default permissions works with php spark serve..
Is there one nice topic about correct permissions for codeigniter 4 or i should compare that with working permissions from downloaded composer vendor files? Thanks.

Linux 5.4.95-1-MANJARO #1 SMP PREEMPT Thu Feb 4 00:38:02 UTC 2021 x86_64 GNU/Linux
PHP 8.0.2 (cli) (built: Feb  2 2021 18:26:02) ( NTS )
Copyright © The PHP Group
Zend Engine v4.0.2, Copyright © Zend Technologies
nginx version: nginx/1.18.0

Messages In This Thread
Permission denied in /public/index.php on line 28 - by brabus - 02-16-2021, 04:59 PM

Theme © iAndrew 2016 - Forum software by © MyBB