Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- IPO
- 자바스크립트
- 공모주 청약 일정
- 6월 공모주 청약 일정
- 주식 청약 일정
- MYSQL
- 주식 청약
- php
- html
- css
- Stock ipo
- jquery
- Stock
- 공모주 청약
- JavaScript
- 리눅스
- 오라클
- Oracle
- 맥
- linux
- 주식
- 공모주
- 자바
- SQL
- 7월 공모주 청약 일정
- java
- 코드이그나이터
- Eclipse
- codeigniter
- 제이쿼리
Archives
- Today
- Total
개발자의 끄적끄적
[php] Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with [duplicate] 본문
개발/php
[php] Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with [duplicate]
효벨 2025. 1. 16. 09:37728x90
반응형
[php] Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with [duplicate]
php 8버전과 codeigniter3을 이용하다보면 호환성에 문제가 생깁니다!
그중에 세션쪽이 우선 문제가 되는데요!!
[php] Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with [duplicate]
위와 같은 문제가 생기면 처리 방법은 간단합니다!
/system/libraries/Session/drivers/Session_files_driver.php
1. 우선 위 경로로 이동해서 파일을 열고
2. 이미지 처럼
open, read, write, close, destroy, gc 함수 바로 위에
#[\ReturnTypeWillChange]
이렇게 선언해주시면 됩니다!
참고하세요!
반응형
'개발 > php' 카테고리의 다른 글
[mysqli] php mysqli 배열 전체 출력 방법 (0) | 2025.03.25 |
---|---|
[php] Zoom Api Event Webhook URL Validation Code / 줌 이벤트 웹훅 url 인증 소스 코드 (0) | 2025.03.14 |
[php8] Message: rawurlencode(): Passing null to parameter #1 ($string) of type string is deprecated (0) | 2024.12.26 |
[php] php strtotime 날짜 계산 오류 해결 방법 (0) | 2024.11.01 |
[php] curl Use of undefined constant CURLPIPE_MULTIPLEX 에러 해결 방법 및 curl 버전 확인 방법 (0) | 2024.09.27 |
Comments