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.
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
- First, you must download CodeIgniter Project from this link: Download CodeIgniter
- After it, you must extract CodeIgniter.zip and copy all of file inside on your htdocs in Xampp folder
- Rename main folder (CodeIgniter) to your project name.
- For example, rename my CodeIgnier project to tecnodiseno_ci
- Open config.php file on ../application/config/config.php
- Find this following code
$config['base_url'] = '';
- And change to this code
$config['base_url'] = 'http://localhost/tecnodiseno_ci';
- Dont forget to save and access localhost/tecnodiseno_ci from your browser
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.