본문 바로가기
반응형

라라벨21

[Laravel] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes ERROR 발생 시 https://laravel-news.com/laravel-5-4-key-too-long-error Laravel 5.4: Specified key was too long error Laravel 5.4 made a change to the default database character set, and it’s now utf8mb4 which includes support for storing emojis. This only affects new applications and as long as you are running MySQL v5.7.7 and higher you do not need to do anything. For t laravel-news.com 참고!! 2019. 4. 5.
[Laravel] php command 사용하기 https://stackoverflow.com/questions/26193314/could-not-open-input-file-artisan Could not open input file: artisan When trying to create a new laravel project, The following error appears on the CLI: Could not open input file: artisan Script php artisan clear-compiled handling the post-install-cmd event stackoverflow.com 2019. 3. 27.
[Laravel] 라라벨 시작하기 1. Composer 설치Composer은 PHP용 패키지 관리자 이다. 2. Laravel installer 설치command 창을 열어서 compser global require "laravel/installer" 입력 해준다. 3. 프로젝트 생성command창에서 입력한다. 자기 입맛대로 원하는 위치로 이동 후 입력해주면 된다. 시간이 좀 오래 걸림.laravel new 프로젝트 이름 4. 웹 서버의 DocumentRoot 설정Laravel 프로젝트에서 웹 서버의 Root로 설정 되어야 하는 경로는 "/public" 디렉토리이다.php의 httpd.conf 파일의 DocumentRoot 디렉토리를 ~~~~/public으로 설정해 준다. - xampp 는 최소 버전이 7.1 되야함 7.1 버전이 안되.. 2019. 2. 22.
반응형