Welcome Guest, Not a member yet? Register   Sign In
CI4 - Installation Location FOLDER example
#3

(This post was last modified: 08-20-2020, 04:01 PM by jinbatsu.)

(08-20-2020, 08:00 AM)Chris78 Wrote: In my host, there's the root directory in which I'm not allowed to upload files.

We should actually not touching anything outside from our username folder, including /root, /etc, /var,...
So, example our folders from hosting provider, my username is jinbatsu, so usually look like this:
/home/jinbatsu/public_html/
/home/jinbatsu/log/
/home/jinbatsu/mail/
/home/jinbatsu/temp/
...

So, we create new folder for our project CI4 files, example we name it the folder as project1.
/home/jinbatsu/project1/app
/home/jinbatsu/project1/system
/home/jinbatsu/project1/writeable

And public/* files from our CI4 we put to:
/home/jinbatsu/public_html/*

That's it. That's how we make our app and system outside from public_html (which is our default DOCROOT from hosting provider).
Reply


Messages In This Thread
RE: CI4 - Installation Location FOLDER example - by jinbatsu - 08-20-2020, 03:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB