how to install codeigniter in xampp server – onlinecode

how to install codeigniter in xampp server – onlinecode

In this post we will give you information about how to install codeigniter in xampp server – onlinecode. Hear we will give you detail about how to install codeigniter in xampp server – onlinecodeAnd how to use it also give you demo for it if it is necessary.

In this article, we will explain to you how to install Codeigniter in xampp server. so you can follow the below step for install or setup Codeigniter in xampp server.

Step 1: Download the latest CodeIgniterYou can download the latest CodeIgniter on the official Codeigniter website.

Step 2: Unzip the file in your “xampp/htdocs/your_project” directory.Step 3: Configuration of the baseurl.Now, open the application/config/config.php file and set the base_url.

$config['base_url'] = ‘http://localhost/your_project_directory_name’;

Step 3: Database Configuration.If you want to change or add the database configuration then you can do in application/config/config.php file.

$db['default'] = array(
	'dsn'	=> '',
	'hostname' => 'localhost',
	'username' => '',
	'password' => '',
	'database' => '',
	'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
);

Finally, you can run our project using the following URL.http://localhost/your_projectName

Please follow and like us:

Hope this code and post will helped you for implement how to install codeigniter in xampp server – onlinecode. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs

For More Info See :: laravel And github

Leave a Comment

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

7  +  2  =  

We're accepting well-written guest posts and this is a great opportunity to collaborate : Contact US