CodeIgniter Laravel PHP Example Javascript jQuery MORE Videos New

How to install or setup CodeIgniter In Xampp Server

To install CodeIgniter please follow the below step:

  1. Download the latest CodeIgniter by click on the download link version from the official codeigniter website.
  2. URL:

  3. Unzip the file in your htdocs folder.
  4. Set the baseurl by open application/config/config.php file with a text editor.
  5. Example

     $config['base_url'] = ‘http://localhost’;
  6. If you need to change the database details open the application/config/database.php file with a text editor and set your database settings.
  7. Example

    $db['default'] = array(
    	'dsn'	=> '',
    	'hostname' => 'localhost',
    	'username' => 'root',
    	'password' => '',
    	'database' => 'my_db',
    	'dbdriver' => 'mysqli',
    	'dbprefix' => '',
    	'pconnect' => FALSE,
    	'db_debug' => (ENVIRONMENT !== 'production'),
    	'cache_on' => FALSE,
    	'cachedir' => '',
    	'char_set' => 'utf8',
    	'dbcollat' => 'utf8_general_ci',
    	'swap_pre' => '',
    	'encrypt' => FALSE,
    	'compress' => FALSE,
    	'stricton' => FALSE,
    	'failover' => array(),
    	'save_queries' => TRUE

To chcek CodeIgniter install successfully or not open the below link in your browser.

http://localhost/Folder name

Here CodeIgniter is my CodeIgniter project folder name.