Welcome Guest, Not a member yet? Register   Sign In
best location for index.php and CI directories?
#2

[eluser]Cristian Gilè[/eluser]
Hi mt_headed,

1. download ci

2. extract content to htdocs (so you have index.php and system folder inside htdocs)

3. move the application folder (inside system) at the same level of the index.php file and system folder

Now your htdocs is something like this:

|
|---index.php
+---system
+---application

4. Optional: if you want you can rename the names of system and application folders. In case that you want rename the folders change the settings in the index.php file accordingly.

5. Open the config.php file (it's in application/config) and set the base_url. In this case will be:

Code:
$config['base_url']    = "http://127.0.0.1/";
6. Call http://127.0.0.1/index.php/welcome to see the welcome page

Remember, the guide is your best friend!

Cristian Gilè


Messages In This Thread
best location for index.php and CI directories? - by El Forum - 01-10-2011, 02:58 PM
best location for index.php and CI directories? - by El Forum - 01-10-2011, 05:00 PM
best location for index.php and CI directories? - by El Forum - 01-10-2011, 05:48 PM
best location for index.php and CI directories? - by El Forum - 01-10-2011, 05:54 PM
best location for index.php and CI directories? - by El Forum - 01-10-2011, 05:59 PM
best location for index.php and CI directories? - by El Forum - 01-10-2011, 06:02 PM
best location for index.php and CI directories? - by El Forum - 01-10-2011, 06:04 PM
best location for index.php and CI directories? - by El Forum - 01-10-2011, 06:51 PM
best location for index.php and CI directories? - by El Forum - 01-15-2011, 07:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB