최신php 환경에서 ci3 오류 대처 방법
안녕하세요 비버팩토리입니다.
이번엔 최신 Php 환경에서 ci3 사용 하는 방법을 올려봅니다.
우선 ci3 최신버전을 다운 받습니다.
https://codeigniter.com/download
Welcome to CodeIgniter
CodeIgniter 3 is the legacy version of the framework, intended for use with PHP 5.6+. This version is in maintenance, receiving mostly just security updates, and the current version is 3.1.13.
codeigniter.com
일부 설정을 다 하고 난후에 (일부 설정은 config.php 에서 수정한것)
계속해서 에러가 출력된다면 아래 링크를 참고해보세요.
https://github.com/bcit-ci/CodeIgniter/issues/6192#issuecomment-1398063882
Creation of dynamic property CI_URI::$config is deprecated · Issue #6192 · bcit-ci/CodeIgniter
A stackoverflow question a user had sent me on the path of discovering why this was happening and noticed it wasn't patched in any branch or tag yet. https://github.com/bcit-ci/CodeIgniter/blob/3.1...
github.com
그리고 마지막으로는 요새 챗 지피티 같은 인공지능에 도움을 받아서 수정을 하면됩니다.
대부분이 문법 에러 투성이고 캐시 드라이버쪽도 문제여서 몇가지 수정만 하면 사용하는데 문제 없습니다.
08-26 캐시 부분 자꾸 에러 나와서 한동안 이부분 찾다보니까.. 문득 다시 생각 나서 위에 링크 대로 그대로 따라 하니까
에러 없이 문제 해결 했습니다.