on-internet
← Community

How to set up CodeIgniter site on localhost?

Stack Overflow ·

I'm new to CodeIgniter. I am trying to set up a CodeIgniter site on my local host. The site is working fine online. Here are the steps I have undertaken to migrate the site to my local host. edited the base_url in the application/config/congfig.php $config['base_url'] = "http://localhost/MyProjects/Project/reservation/"; changed the database connect settings in the application/config/database.php to connect to localhost database have set up the database The working site URL looks like this: www.example.com/reservation/index.php I have placed the site files in MyProjects/Project directory in lo

Comments

Sign in or sign up to comment and upvote.

No comments yet.