PHP 8.2.1 변경 기록과 적용 점검
릴리스: 2023년 1월 5일
게시: 2026년 8월 6일
PHP 8.2.1 공식 변경 기록에서 구성요소와 CVE를 추출하고 사용 환경별 확인 순서를 제공합니다.
PHP 8.2.1 변경 사항
공식 php-src 태그의 NEWS에서 이 버전의 항목만 추출했습니다. 아래 구성요소와 확인 순서는 원문에 따라 자동 구성됩니다. 애플리케이션 호환성이나 취약점 영향 여부를 판정하지 않습니다.
변경된 구성요소
Core · Apache · FPM · Imap · MBString · Opcache · OpenSSL · Pcntl · PDO_Firebird · PDO/SQLite · Session · SPL · SQLite3 · TSRM
원문에 명시된 CVE
사용 환경별 확인 순서
php -v와php -m으로 실제 실행 버전과 확장 목록을 확인하고 아래 원문에서 사용 중인 구성요소의 변경을 찾으세요.composer check-platform-reqs로 설치 환경의 요구사항을 확인하세요. 성공하더라도 동작 호환성까지 보장하지는 않습니다.- PHP-FPM을 사용한다면 스테이징에서 프로세스 재시작과 오류 로그를 확인하세요.
- PDO를 사용한다면 실제 데이터베이스 드라이버로 조회·트랜잭션 테스트를 실행하세요.
- TLS 연결을 사용한다면 외부 API·메일 서버 연결과 인증서 검증을 점검하세요.
- 배포 전 스테이징에서 애플리케이션 테스트를 실행하고, 배포 후 웹 프로세스와 큐 워커가 새 PHP를 사용하는지 확인하세요.
공식 변경 기록
05 Jan 2023, PHP 8.2.1
Core: . Fixed bug GH-9905 (constant() behaves inconsistent when class is undefined). (cmb) . Fixed bug GH-9918 (License information for xxHash is not included in README.REDIST.BINS file). (Akama Hitoshi) . Fixed bug GH-9890 (OpenSSL legacy providers not available on Windows). (cmb) . Fixed bug GH-9650 (Can't initialize heap: [0x000001e7]). (Michael Voříšek) . Fixed potentially undefined behavior in Windows ftok(3) emulation. (cmb) . Fixed GH-9769 (Misleading error message for unpacking of objects). (jhdxr)
Apache: . Fixed bug GH-9949 (Partial content on incomplete POST request). (cmb)
FPM: . Fixed bug GH-9959 (Solaris port event mechanism is still broken after bug #66694). (Petr Sumbera) . Fixed bug #68207 (Setting fastcgi.error_header can result in a WARNING). (Jakub Zelenka) . Fixed bug #80669 (FPM numeric user fails to set groups). (Jakub Zelenka) . Fixed bug GH-8517 (Random crash of FPM master process in fpm_stdio_child_said). (Jakub Zelenka)
Imap: . Fixed bug GH-10051 (IMAP: there's no way to check if a IMAP\Connection is still open). (Girgias)
MBString: . Fixed bug GH-9535 (The behavior of mb_strcut in mbstring has been changed in PHP8.1). (Nathan Freeman)
Opcache: . Fixed bug GH-9968 (Segmentation Fault during OPCache Preload). (Arnaud, michdingpayc)
OpenSSL: . Fixed bug GH-9997 (OpenSSL engine clean up segfault). (Jakub Zelenka) . Fixed bug GH-9064 (PHP fails to build if openssl was built with --no-ec). (Jakub Zelenka) . Fixed bug GH-10000 (OpenSSL test failures when OpenSSL compiled with no-dsa). (Jakub Zelenka)
Pcntl: . Fixed bug GH-9298 (Signal handler called after rshutdown leads to crash). (Erki Aring)
PDO_Firebird: . Fixed bug GH-9971 (Incorrect NUMERIC value returned from PDO_Firebird). (cmb)
PDO/SQLite: . Fixed bug #81740 (PDO::quote() may return unquoted string). (CVE-2022-31631) (cmb)
Session: . Fixed GH-9932 (session name silently fails with . and [). (David Carlier)
SPL: . Fixed GH-9883 (SplFileObject::__toString() reads next line). (Girgias) . Fixed GH-10011 (Trampoline autoloader will get reregistered and cannot be unregistered). (Girgias)
SQLite3: . Fixed bug #81742 (open_basedir bypass in SQLite3 by using file URI). (cmb)
TSRM: . Fixed Windows shmget() wrt. IPC_PRIVATE. (Tyson Andre)
출처
PHP 8.2.1 공식 NEWS · 현재 PHP 지원 일정
원문에 없는 지원 종료일, CVE, Laravel 호환성 결론은 자동으로 추가하지 않습니다.