Welcome Guest, Not a member yet? Register   Sign In
PROCEDURE#4
#1

[eluser]v4et[/eluser]
Please tell me if this installation procedure is right:

1-I uploaded the dir CodeIgniter_2.1.0 to root/home moving index.php to root level

2-I edited config,php this way:
|—————————————————————————————————————
| Base Site URL
|—————————————————————————————————————
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH a trailing slash:
|
| http://example.com/
|
| If this is not set then CodeIgniter will guess the protocol, domain and
| path to your installation.
|
*/
$config[‘base_url’] = ‘/root/home’;

/*
|—————————————————————————————————————
| Index File
|—————————————————————————————————————
|
| Typically this will be your index.php file, unless you’ve renamed it to
| something else. If you are using mod_rewrite to remove the page set this
| variable so that it is blank.
|
*/
$config[‘index_page’] = ‘/root/index.php’;

/*
|—————————————————————————————————————



3- I edited index,php moving it to root level this way:


*———————————————————————————————-
* APPLICATION ENVIRONMENT
*———————————————————————————————-
*
* You can load different configurations depending on your
* current environment. Setting the environment also influences
* things like logging and error reporting.
*
* This can be set to anything, but default usage is:
*
* development
* testing
* production
*
* NOTE: If you change these, also change the error_reporting() code below
*
*/
define(‘PRODUCTION’, ‘development’);
/*
*———————————————————————————————-
* ERROR REPORTING
*———————————————————————————————-
*
* Different environments will require different levels of error reporting.
* By default development will show errors but testing and live will hide them.
*/

if (defined(‘PRODUCTION’))
{
switch (ENVIRONMENT)
{
case ‘development’:
error_reporting(E_ALL);
break;

case ‘testing’:
case ‘production’:
error_reporting(0);
break;

default:
exit(‘The application environment is not set correctly.’);
}
}

/*

*———————————————————————————————-
* SYSTEM FOLDER NAME
*———————————————————————————————-
*
* This variable must contain the name of your “system” folder.
* Include the path if the folder is not in the same directory
* as this file.
*
*/
$system_path = ‘/root/home/CodeIgniter_2.1.0/system’;

/*
*———————————————————————————————-
* APPLICATION FOLDER NAME
*———————————————————————————————-
*
* If you want this front controller to use a different “application”
* folder then the default one you can set its name here. The folder
* can also be renamed or relocated anywhere on your server. If
* you do, use a full server path. For more info please see the user guide:
* http://ellislab.com/codeigniter/user-gui..._apps.html
*
* NO TRAILING SLASH!
*
*/
$application_folder = ‘/root/home/CodeIgniter_2.1.0/application’;


NOTES FROM OP
Maybe it should be just
$system_path = 'system';
and
$system_path = 'system';
since I never moved them from root/home

You can refer to this other procedures too
http://ellislab.com/forums/viewthread/217919/
http://ellislab.com/forums/viewthread/217922/
http://ellislab.com/forums/viewthread/217923/


Messages In This Thread
PROCEDURE#4 - by El Forum - 05-24-2012, 09:13 PM
PROCEDURE#4 - by El Forum - 05-24-2012, 09:17 PM
PROCEDURE#4 - by El Forum - 05-24-2012, 09:20 PM
PROCEDURE#4 - by El Forum - 05-24-2012, 11:31 PM
PROCEDURE#4 - by El Forum - 05-25-2012, 12:11 AM
PROCEDURE#4 - by El Forum - 05-25-2012, 12:15 AM
PROCEDURE#4 - by El Forum - 05-25-2012, 02:02 AM
PROCEDURE#4 - by El Forum - 05-25-2012, 03:52 PM
PROCEDURE#4 - by El Forum - 05-25-2012, 10:55 PM
PROCEDURE#4 - by El Forum - 05-25-2012, 11:10 PM
PROCEDURE#4 - by El Forum - 05-25-2012, 11:18 PM
PROCEDURE#4 - by El Forum - 05-25-2012, 11:36 PM
PROCEDURE#4 - by El Forum - 05-25-2012, 11:52 PM
PROCEDURE#4 - by El Forum - 05-26-2012, 03:07 AM
PROCEDURE#4 - by El Forum - 05-26-2012, 03:42 AM
PROCEDURE#4 - by El Forum - 05-27-2012, 06:19 PM
PROCEDURE#4 - by El Forum - 05-27-2012, 07:42 PM
PROCEDURE#4 - by El Forum - 05-27-2012, 08:00 PM
PROCEDURE#4 - by El Forum - 05-29-2012, 12:01 PM
PROCEDURE#4 - by El Forum - 05-29-2012, 01:59 PM
PROCEDURE#4 - by El Forum - 05-30-2012, 03:44 AM
PROCEDURE#4 - by El Forum - 06-06-2012, 11:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB