참고: PHP 5는 2024년 1월 30일 지원 종료되었습니다. 기존 PHP 5 애플리케이션을 계속 실행하고 트래픽을 받을 수 있습니다. 그러나 지원 종료 날짜 이후에는 해당 런타임을 사용하는 애플리케이션의 재배포를 App Engine에서 차단할 수 있습니다.
지원되는 최신 PHP 버전으로 마이그레이션하는 것이 좋습니다.
이 페이지에서는 로컬 개발 서버(dev_appserver)를 사용하여 애플리케이션의 push 큐를 테스트할 때 발생하는 몇 가지 제한사항을 설명합니다. 대부분의 측면에서 App Engine 프로덕션 환경에서 실행하는 것처럼 큐와 태스크를 설정하지만 몇 가지 차이점이 있습니다.
개발 서버는 큐의 rate 및 bucket-size 속성을 고려하지 않습니다. 따라서 태스크는 가능한 한 ETA와 가깝게 실행됩니다. 속도를 0으로 설정해도 태스크 실행이 자동으로 차단되지는 않습니다.
개발 서버가 다시 시작되면 큐 상태가 보존되지 않습니다.
푸시 작업이 개발 서버에서 전혀 실행되지 않게 하려면 다음 명령어를 사용합니다.
python2 DEVAPPSERVER_ROOT/google_appengine/dev_appserver.py --enable_task_running no
DEVAPPSERVER_ROOT를 devapp_server.py의 보관처리된 버전의 압축을 푸는 폴더 경로로 바꿉니다. dev_appserver.py의 보관처리된 버전 다운로드 및 사용에 대한 자세한 내용은 로컬 개발 서버 사용을 참조하세요.
devapp_server.py 명령어 옵션에 대한 자세한 내용은 로컬 개발 서버 옵션을 참조하세요.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-24(UTC)"],[[["This API is compatible with first-generation runtimes and can be used when upgrading to the corresponding second-generation runtimes, with a specific migration guide available for those updating to App Engine PHP 7/8."],["The local development server (`dev_appserver`) has limitations, notably not respecting the `rate` and `bucket-size` attributes of queues, leading to tasks running close to their ETA without considering set rates."],["The local development server's queue state is not saved across restarts."],["Before running the local development server, specific setup steps must be followed, including using Python 3 for `dev_appserver.py` and setting the `CLOUDSDK_DEVAPPSERVER_PYTHON` environment variable to the Python 2 interpreter's path."],["To prevent push tasks from running in the development server, use the command `python2 DEVAPPSERVER_ROOT/google_appengine/dev_appserver.py --enable_task_running no`, replacing `DEVAPPSERVER_ROOT` with the appropriate path."]]],[]]