CodeIgniter Forums
Hosting codeigniter 4 - 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: Hosting codeigniter 4 (/showthread.php?tid=75111)



Hosting codeigniter 4 - Marcos Lopes - 12-23-2019

Good afternoon, I need help.

I am unable to host application on codeigniter4.

Can someone help me ?

I am trying to host on 000webhost.

I've read the documentation, but I didn't understand much



RE: Hosting codeigniter 4 - InsiteFX - 12-24-2019

You need to rename your public folder to public_html


RE: Hosting codeigniter 4 - Marcos Lopes - 12-24-2019

(12-24-2019, 04:08 AM)InsiteFX Wrote: You need to rename your public folder to public_html

All my files are already in the public_html folder.
Do I still rename the public folder to public_html?


RE: Hosting codeigniter 4 - drinkingwine - 12-26-2019

(12-24-2019, 05:31 AM)Marcos Lopes Wrote:
(12-24-2019, 04:08 AM)InsiteFX Wrote: You need to rename your public folder to public_html

All my files are already in the public_html folder.
Do I still rename the public folder to public_html?

Hello Marcos,

I just moved my ci project to 000web. You need to move all ci files under public_html.

In your config file remember to change the base_url.

$config['base_url'] = '/';