How to Install CodeIgniter on Xampp Windows
How to Install CodeIgniter on Xampp Windows

How to Install CodeIgniter on Xampp Windows

How to Install CodeIgniter on Xampp Windows

tecnodiseno.com - Easy install CodeIgniter 3.x framework on Xampp Windows. Hai guys, this is my first post. Today, i will share to you (newbie) how to install CodeIgniter on Xampp on Windows 7/8/10 with Xampp. At least, i'm also a newbie in website programming. But i know step to install CodeIgniter on my Xampp with Windows operating system (ha ha). So, lets read this section below.

how to install codeigniter xampp windows
Before we go to the tutorial, let me introduce what is CodeIgniter, what is different of CodeIgniter with PHP, HTML, JavaScript and other programming language we know.

What is CodeIgniter?


CodeIgniter is powerfull PHP framework with a very small footprint, built for developer who need a simple and elegant toolkit to create full-featured web applications. (source : codeigniter.com)

From my personal opinion, CodeIgniter is same as with PHP programming language, but built with very small footprint to cut the processsing time of our website or apps project.

For the example. On native PHP, we write this code to call a database.
$sql = "SELECT id, firstname, lastname FROM tecnodiseno_db";
$result = $conn->query($sql);

On CodeIgniter, we just write this simple code to call a database.
$this->db->select('*');
$this->db->from('tecnodiseno_db');
$data = $this->db->get();
return $data->row();

That is called very small footprint. So, you are ready to install CodeIgniter on your loxalhost (Xampp)? Lets see this one.

How To Install CodeIgniter on Xampp Windows

  1. First, you must download CodeIgniter Project from this link: Download CodeIgniter 
    download codeigniter and install
  2. After it, you must extract CodeIgniter.zip and copy all of file inside on your htdocs in Xampp folder
  3. Rename main folder (CodeIgniter) to your project name.
  4. For example, rename my CodeIgnier project to tecnodiseno_ci 
    how to install codeigniter windows xampp
  5. Open config.php file on ../application/config/config.php
  6. Find this following code
    $config['base_url'] = '';
    
  7. And change to this code
    $config['base_url'] = 'http://localhost/tecnodiseno_ci';
    
  8. Dont forget to save and access localhost/tecnodiseno_ci from your browser 
    how to install codeigniter localhost xampp windows

Done. thanks for reading my first post and my first tutorial. Keep stay on my website. Next time i will share other helpful tutorial for newbie, ha ha.
This Is The Oldest Page
Show Comment
       

2 comments