Search

CodeIgniter is installed steps 

Step-1  Download the CodeIgniter from the link CodeIgniter 3.1.11 is Current Version  

Step-2 Unzip the package. Download zip

Step-3 Upload the CodeIgniter folders and files to your server. Normally the index.php file will be at your root.

Step-4 Open the application/config/config.php file with a text editor and set your base URL. If you intend to use encryption or sessions, set your encryption key.

Step-5 If you intend to use a database, open the application/config/database.php file with a text editor and set your database settings.

You can leave few options to their default values except hostname, username, password, database and DB driver.

  • hostname ? Specify location of your database here e.g. localhost or IP address
  • username ? Set username of your database here.
  • password ? Set password of your database here.
  • database ? Set name of the database here.
  • dbdriver ? Set type of database that you are using e.g. MySQL, MySQLi, Postgre SQL, ODBC, and MS SQL.

Example :-

hostname ? 127.0.0.1
username ? root
password ? Adi@xxx
database ? ci_test
dbdriver ? mysqli

Stack Overlode is optimized Tutorials and examples for learning and training. Examples might be simplified to improve reading and learning and understand. Tutorials and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using Stack Overlode, you agree to have read and accepted our terms of use, cookie and privacy policy.