0% found this document useful (0 votes)
19 views2 pages

How To Install Codeigniter

This document provides instructions for installing CodeIgniter on a local server. It explains that CodeIgniter is a PHP framework that provides libraries to help developers build projects faster. It then outlines the steps to download CodeIgniter, extract the files to a local server folder, configure the database connection in the database.php file, and set the base URL in the config.php file. Once configured, CodeIgniter can be accessed at the specified URL and the user guide provides instructions for developing websites with the framework.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views2 pages

How To Install Codeigniter

This document provides instructions for installing CodeIgniter on a local server. It explains that CodeIgniter is a PHP framework that provides libraries to help developers build projects faster. It then outlines the steps to download CodeIgniter, extract the files to a local server folder, configure the database connection in the database.php file, and set the base URL in the config.php file. Once configured, CodeIgniter can be accessed at the specified URL and the user guide provides instructions for developing websites with the framework.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

How to install codeigniter

Codeigniter is a php framework. This is very usefull for web developers. Because
codeigniter provide many library that they can use and make their project finish
faster. For learn how to use codeigniter, you dont have to worry, because
codeigniter provide userguide with complete explanation with the example in
each topic. So that you know how to feel using codeigniter you can download it
from here http://codeigniter.com/ .
If you have downloaded it, follow this step. Before you can install codeigniter
make sure that you have installed webserver in your local computer. If you have
not installed it and have not known how to installed it you can see previous post
with title How To Install Server Locally. Currently I consider you have understood.
Following the instruction.
First extract codeigniter to your local webserver, because in this example we use
XAMPP so we place it to folder C:\xampp\htdocs\ . you can copy and paste
folder codeigniter to that folder.
Here we rename the folder codeigniter so we get good url. We rename the folder
become sisfo_akademik. Now we have C:\xampp\htdocs\ sisfo_akademik\ .
Then config your database in database.php file. The file located in the folder
C:\xampp\htdocs\sisfo_akademik\application\config\database.php . open
that file then find this word
$db['default']['hostname'] = 'localhost';
$db['default']['username'] = '';
$db['default']['password'] = '';
$db['default']['database'] = '';
$db['default']['dbdriver'] = 'mysql';
Change to be like this,
$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'root';
$db['default']['password'] = '';
$db['default']['database'] = 'sisfo_akademik';
$db['default']['dbdriver'] = 'mysql';
As a note for that configuration means we use host with localhost with
username root with no password and with database name : sisfo_akademik in
our database.

Then you can config your base url, you can edit file config.php that located in
C:\xampp\htdocs\sisfo_akademik\application\config\config.php. Then find
this words.

$config['base_url'] = '';
The change to be like this,
$config['base_url'] = ' http://localhost/sisfo_akademik/ ';
Right now you have finished to configure your codeigniter. And you can access it
in browser with url http://localhost/sisfo_akademik/ then you can see user
guide

to

make

your

http://localhost/sisfo_akademik/user_guide/ .

own

website

in

You might also like