PHP CodeIgniter Framework – Uploading Codeigniter files to a website

The process of uploading Codeigniter files to a website is as following you need to follow these steps to do it there are two solutions are given:

Solution 1:
Set hosting server IP on your domain name server, In application, there are three files as given below:


You need to Set base_url = http://localhost/base_folder_name in “config.php” file then go down to set session path

Solution 2:

1. First, you need to go to PHP my admin create a table of ci_session which u will get in any website.

2. Now, update it in your database,
3. then you need to go to configure file (config.php) & update session_path as database instead of files
4. Then update it ci_session

That’s it

Leave a Reply

Your email address will not be published. Required fields are marked *