{"id":689,"date":"2013-05-19T09:37:52","date_gmt":"2013-05-19T07:37:52","guid":{"rendered":"http:\/\/www.extradrm.com\/?p=689"},"modified":"2013-05-19T12:39:12","modified_gmt":"2013-05-19T10:39:12","slug":"installing-codeigniter-on-wamp-server-part-1","status":"publish","type":"post","link":"http:\/\/www.extradrm.com\/?p=689","title":{"rendered":"Installing codeIgniter on wamp server &#8211; Part 1"},"content":{"rendered":"<h2>Installing CodeIgniter under wampserver<\/h2>\n<p>Before you start, You must have a <span style=\"color: #800000;\"><strong><a title=\"WampServer Windows web development\" href=\"http:\/\/www.wampserver.com\/en\/\" target=\"_blank\"><span style=\"color: #800000;\">wampserver<\/span><\/a><\/strong><\/span> installed on your windows with a php version 5.3 or higher.<\/p>\n<p>Unzip the <strong><a title=\"CodeIgniter Package\" href=\"http:\/\/ellislab.com\/codeigniter\" target=\"_blank\">downloaded Codeigniter package<\/a><\/strong> under\u00a0 windows <strong>www<\/strong> wampserver folder (default install c:\\wamp\\www\\) and rename it as &#8220;extradrm&#8221; for example (c:\\wamp\\www\\extradrm)<\/p>\n<p>To avoid <strong>index.php problems and redirecting default installation codeIgniter later<\/strong> create from now a .htaccess file on the extradrm root folder as following :<\/p>\n<pre>&lt;IfModule mod_rewrite.c&gt;\r\nRewriteEngine On\r\nRewriteBase \/extradrm\/\r\n\r\n#Removes access to the system folder by users.\r\n#Additionally this will allow you to create a System.php controller,\r\n#previously this would not have been possible.\r\n#'system' can be replaced if you have renamed your system folder.\r\nRewriteCond %{REQUEST_URI} ^system.*\r\nRewriteRule ^(.*)$ \/index.php?\/$1 [L]\r\n\r\n#When your application folder isn't in the system folder\r\n#This snippet prevents user access to the application folder\r\n#Submitted by: Fabdrol\r\n#Rename 'application' to your applications folder name.\r\nRewriteCond %{REQUEST_URI} ^application.*\r\nRewriteRule ^(.*)$ \/index.php?\/$1 [L]\r\n\r\n#Checks to see if the user is attempting to access a valid file,\r\n#such as an image or css document, if this isn't true it sends the\r\n#request to index.php\r\nRewriteCond %{REQUEST_FILENAME} !-f\r\nRewriteCond %{REQUEST_FILENAME} !-d\r\nRewriteRule ^(.*)$ index.php?\/$1 [L]\r\n&lt;\/IfModule&gt;\r\n\r\n&lt;IfModule !mod_rewrite.c&gt;\r\n# If we don't have mod_rewrite installed, all 404's\r\n# can be sent to index.php, and everything works as normal.\r\n# Submitted by: ElliotHaughin\r\n\r\nErrorDocument 404 \/index.php\r\n&lt;\/IfModule&gt;<\/pre>\n<p>Launch http:\/\/localhost\/extradrm and you must see the default codeigniter home page.<\/p>\n<p>To read Part 2, on activating database mode sessions under codeigniter <span style=\"color: #ff0000;\"><strong><a title=\"codeIgniter sessions table configuration\" href=\"http:\/\/www.extradrm.com\/?p=709\"><span style=\"color: #ff0000;\">click Here<\/span><\/a><\/strong><\/span>.<br \/>\nCheers<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing CodeIgniter under wampserver Before you start, You must have a wampserver installed on your windows with a php version 5.3 or higher. Unzip the downloaded Codeigniter package under\u00a0 windows www wampserver folder (default&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":2841,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,23],"tags":[],"youtube_video":null,"_links":{"self":[{"href":"http:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts\/689"}],"collection":[{"href":"http:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=689"}],"version-history":[{"count":0,"href":"http:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/posts\/689\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.extradrm.com\/index.php?rest_route=\/wp\/v2\/media\/2841"}],"wp:attachment":[{"href":"http:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=689"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.extradrm.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}