{"id":46,"date":"2020-12-24T05:09:24","date_gmt":"2020-12-24T05:09:24","guid":{"rendered":"http:\/\/localhost\/softmetix_final\/blog\/?p=46"},"modified":"2020-12-24T05:26:05","modified_gmt":"2020-12-24T05:26:05","slug":"5-simple-steps-to-install-codeigniter-in-xampp","status":"publish","type":"post","link":"https:\/\/softmetix.com\/blog\/5-simple-steps-to-install-codeigniter-in-xampp\/","title":{"rendered":"5 Simple steps to install Codeigniter in xampp"},"content":{"rendered":"\n<p><strong><span class=\"has-inline-color has-luminous-vivid-orange-color\">Codeigniter<\/span><\/strong>\u00a0is one of the most popular and lightweight\u00a0PHP\u00a0frameworks to date. This is a simple web application development framework. By its modular approach, we can use its inbuilt libraries and helpers in our application.<\/p>\n\n\n\n<p>We can separate logic from presentation by using a Model-View-Controller (MVC) pattern.<\/p>\n\n\n\n<p>In this tutorial, we are going to explain to you, how to install the CodeIgniter framework in xampp. Below mentioned are the step by step process and installation instructions that you can follow to get CodeIgniter installed on your local computer.<\/p>\n\n\n\n<ol><li>Download the latest version of CodeIgniter by\u00a0click on the download link\u00a0from the official CodeIgniter website. \u00a0(<a rel=\"noreferrer noopener\" href=\"https:\/\/www.studentstutorial.com\/codeigniter\/install\" target=\"_blank\">https:\/\/codeigniter.com\/<\/a>)<\/li><\/ol>\n\n\n\n<ol start=\"2\"><li>Unzip the downloaded file in your htdocs folder.<\/li><li>Change the name of the folder to your project folder e.g. portfolio<\/li><li>Open the\u00a0application\/config\/config.php\u00a0file with a text editor to set the application base URL.<\/li><\/ol>\n\n\n\n<h2>Example<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted wp-block-quote\">$config['base_url'] = \u2018http:\/\/localhost\u2019;<\/pre>\n\n\n\n<p>5. If you need to change the database details open the\u00a0<strong>application\/config\/database.php<\/strong>\u00a0file with a text editor and set your database settings.<\/p>\n\n\n\n<h2>Example<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\">$db['default'] = array(\n    'dsn'   =&gt; '',\n    'hostname' =&gt; 'localhost',\n    'username' =&gt; 'root',\n    'password' =&gt; 'rootpassword',\n    'database' =&gt; 'my_db',\n    'dbdriver' =&gt; 'mysqli',\n    'dbprefix' =&gt; '',\n    'pconnect' =&gt; FALSE,\n    'db_debug' =&gt; (ENVIRONMENT !== 'production'),\n    'cache_on' =&gt; FALSE,\n    'cachedir' =&gt; '',\n    'char_set' =&gt; 'utf8',\n    'dbcollat' =&gt; 'utf8_general_ci',\n    'swap_pre' =&gt; '',\n    'encrypt' =&gt; FALSE,\n    'compress' =&gt; FALSE,\n    'stricton' =&gt; FALSE,\n    'failover' =&gt; array(),\n    'save_queries' =&gt; TRUE\n);\n<\/pre>\n\n\n\n<p>To check CodeIgniter is setup successfully or not open the below link in your browser.<\/p>\n\n\n\n<p><a href=\"http:\/\/localhost\/myportfolio\">http:\/\/localhost\/myportfolio<\/a><\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n                                    <p>Congratulations you have successfully learned how to install codeigniter in xampp server!<\/p>\n                                <\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Codeigniter\u00a0is one of the most popular and lightweight\u00a0PHP\u00a0frameworks to date. This is a simple web application development framework. By its modular approach, we can use its inbuilt libraries and helpers in our application. We can separate logic from presentation by using a Model-View-Controller (MVC) pattern. In this tutorial, we are going to explain to you, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":47,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,6,1,8],"tags":[9,11,10,12],"_links":{"self":[{"href":"https:\/\/softmetix.com\/blog\/wp-json\/wp\/v2\/posts\/46"}],"collection":[{"href":"https:\/\/softmetix.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softmetix.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softmetix.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softmetix.com\/blog\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":6,"href":"https:\/\/softmetix.com\/blog\/wp-json\/wp\/v2\/posts\/46\/revisions"}],"predecessor-version":[{"id":55,"href":"https:\/\/softmetix.com\/blog\/wp-json\/wp\/v2\/posts\/46\/revisions\/55"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softmetix.com\/blog\/wp-json\/wp\/v2\/media\/47"}],"wp:attachment":[{"href":"https:\/\/softmetix.com\/blog\/wp-json\/wp\/v2\/media?parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softmetix.com\/blog\/wp-json\/wp\/v2\/categories?post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softmetix.com\/blog\/wp-json\/wp\/v2\/tags?post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}