How to install or setup CodeIgniter In Xampp Server
If you need to change the database details open the application/config/database.php file with a text editor and set your database settings.
To install CodeIgniter please follow the below step:
- Download the latest CodeIgniter by click on the download link version from the official codeigniter website.

- Unzip the file in your htdocs folder.
- If you need to change the database details open the application/config/database.php file with a text editor and set your database settings.
Example
$config['base_url'] = ‘http://localhost’;
- Set the baseurl by open application/config/config.php file with a text editor.
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
Comments
Post a Comment