«   2017/01   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Archives
Today
161
Total
819,392
관리 메뉴

Blue Breeze

composer codeigniter 본문

Language/PHP

composer codeigniter

푸른바람 푸른_바람 2016.04.12 00:02

Composer, CodeIgniter 설치 및 설정

# https://packagist.org   codeigniter 검색
# composer 검색
composer search codeigniter

# codeigniter 설치
composer require codeigniter/framework

# codeigniter 설정
cp vendor/codeigniter/framework/index.php .
cp -r vendor/codeigniter/framework/application/ .

# index.php 설정
$system_path = 'vendor/codeigniter/framework/system';
$application_folder = 'application';

# application/config/config.php 설정
$config['composer_autoload'] = 'vendor/autoload.php';

.htaccess 설정

RewriteEngine On
RewriteBase /
RewriteCond $1 !^(index\.php|images|captcha|data|include|uploads|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
신고

'Language > PHP' 카테고리의 다른 글

PHP RedisClient Class  (0) 2016.06.07
PHP Redis  (0) 2016.06.03
composer codeigniter  (0) 2016.04.12
php7 opcache.enable 설정  (0) 2016.04.05
composer 프로젝트 셋업  (0) 2016.04.04
Composer Install  (0) 2016.03.30
0 Comments
댓글쓰기 폼
Prev 1 ... 88 89 90 91 92 93 94 95 96 ... 984 Next