CodeIgniter Forums
install CodeIgniter3 on cPanel - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17)
+--- Thread: install CodeIgniter3 on cPanel (/showthread.php?tid=78812)



install CodeIgniter3 on cPanel - kwikpedia - 03-13-2021

What's the proper way of doing it?

Where is everything supposed to go?

CodeIgniter 4 has a public folder, and I understand, only this content goes to public_html so it's simpler.


RE: install CodeIgniter3 on cPanel - Muzikant - 03-14-2021

If you will download the CodeIgniter 3 (it is a bcit-ci-CodeIgniter-3.1.11-0-gb73eb19.zip file right now), there is a directory called "bcit-ci-CodeIgniter-b73eb19" in it. From this directory copy application, system and index.php to your cPanel's public_html directory and it should work.

I highly recommend you to read the documentation after this.


RE: install CodeIgniter3 on cPanel - kleber - 04-19-2021

If this is going to be your only system in cpanel i would send the codeigniter (application, system, index.php) to the root folder (public_html). Then i would move the "application" and "system" folders to the above directory and look like this:

application
system
public_html
    index.php

You will need to edit the index.php file and change the paths of the two moved folders.

Check at: https://codeigniter.com/userguide3/installation/index.html#installation-instructions