How to run codeigniter4 in shared hosting ? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: How to run codeigniter4 in shared hosting ? (/showthread.php?tid=75862) Pages:
1
2
|
RE: How to run codeigniter4 in shared hosting ? - shahadathossain - 03-25-2020 (03-25-2020, 01:40 PM)jreklund Wrote: That's correct. If you upload everything as is (renaming /public into /public_html), you will end up with the following structure in Cpanel, based upon /. Thanks Buddy! its working RE: How to run codeigniter4 in shared hosting ? - jreklund - 03-25-2020 (03-25-2020, 01:53 PM)shahadathossain Wrote: Thanks Buddy! its working Great! Will add this to the to-do list of tutorials for the new "learning center" in the userguide/website. RE: How to run codeigniter4 in shared hosting ? - jreklund - 03-25-2020 (03-25-2020, 12:15 PM)captain-sensible Wrote: If i have done anything to mislead @shahadathossain or if i have not understood his issue i have no problem in being told in what way. Where i am coming from is from a point of using shared hosting and successfully having codeigniter 4.0.0-rc3 work on live hosting with https. In this case, your post had the most correct answer. But you will need to take OP knowledge and question into account. In this particular case it where how to deal with the contents of /public/ on shared hosting. And depending on control panel, you can't do everything the same way. So that's something that needs to be established first, or give them all options. In this case your suggestion on redirecting document root don't work (in Cpanel) and other steps are needed. Your answer also somewhat scope creeped a little as you provided Lets Encrypt into the mix, as that are a different subject. Setting a baseURL are good, but for getting the first welcome message, it's not needed. RE: How to run codeigniter4 in shared hosting ? - captain-sensible - 03-25-2020 (03-25-2020, 02:23 PM)jreklund Wrote:ok thanks for clarification(03-25-2020, 12:15 PM)captain-sensible Wrote: If i have done anything to mislead @shahadathossain or if i have not understood his issue i have no problem in being told in what way. Where i am coming from is from a point of using shared hosting and successfully having codeigniter 4.0.0-rc3 work on live hosting with https. |