CodeIgniter 4
CodeIgniter는 빠른 실행속도를 보장하는 PHP의 프레임워크
환경설정
1. XAMPP 설치
https://www.apachefriends.org/index.html
XAMPP Installers and Downloads for Apache Friends
What is XAMPP? XAMPP is the most popular PHP development environment XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to us
www.apachefriends.org
2. php.ini 설정
C:\xampp\php 경로에 php.ini 파일이 존재합니다.
extension=intl
extension=mbstring
위의 두 개의 주석을 해제해줍니다.
CodeIgniter 새 프로젝트 생성
프로젝트 생성
composer create-project codeigniter4/appstarter <프로젝트 명>
그러면, 위의 사진과같은 파일과 디렉토리가 만들어지게 됩니다.
Controller, model, view관련 파일과 설정관련 config등 대부분의 주요 파일들은 App폴더에 위치합니다.
URL : 루트경로/public
저는 xampp\htdocs\tutorial이 루트위치기 때문에, localhost/tutorial/public이 됩니다.
'IT 공부 > CodeIgniter' 카테고리의 다른 글
[ Codeigniter ] Codeigniter 4 프로젝트 virtualhost 서버 설정 (0) | 2022.02.28 |
---|---|
[ Codeigniter 4 ] GoogleのKeyword広告クローラー (0) | 2022.01.21 |
[ codeigniter 4 ] 더보기를 클릭하면, ajax를 통해서 목록 불러오기 (0) | 2022.01.05 |
[ CodeIgniter 4 ] model을 이용해서 DB에 있는 Data가져오기 (0) | 2021.12.08 |
[ CodeIgniter 4 ] Controller로 유저의 요청 처리하기 (0) | 2021.12.07 |