이 글은 composer튜토리얼 칼럼에서 잠시후에 Composer require 실행 시 "Killed" 문제를 소개하기 위해 작성되었습니다. 필요한 친구들에게 도움이 되었으면 좋겠습니다!
특정 문제:
composer require를 실행하면 잠시 후 "Killed" 메시지가 표시됩니다.
composer require voku/simple_html_dom -vvv Reading ./composer.json Loading config file ./composer.json Checked CA file /etc/pki/tls/certs/ca-bundle.crt: valid Failed to initialize global composer: Composer could not find the config file: /home/admin/.composer/composer.json To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section Reading /home/wwwroot/vendor/composer/installed.json Loading plugin EasyWeChatComposer\Plugin Loading plugin think\composer\Plugin Running 1.7.2 (2018-08-16 16:57:12) with PHP 7.1.18 on Linux / 2.6.32-696.16.1.el6.x86_64 Downloading https://repo.packagist.org/packages.json Writing /home/admin/.composer/cache/repo/https---repo.packagist.org/packages.json into cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2013.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2014.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2015.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2016.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2017.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2018.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-01.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-04.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-07.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-10.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-archived.json from cache Downloading http://repo.packagist.org/p/provider-latest%24502b160e3dcbe13f8c125df618d18632ebbad2402f1e07d96e00bf46c3da14ac.json Writing /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-latest.json into cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-voku$simple-html-dom.json from cache Using version ^4.7 for voku/simple_html_dom ./composer.json has been updated Reading ./composer.json Loading config file ./composer.json Failed to initialize global composer: Composer could not find the config file: /home/admin/.composer/composer.json To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section Reading /home/wwwroot/vendor/composer/installed.json Loading plugin EasyWeChatComposer\Plugin_composer_tmp0 Loading plugin think\composer\Plugin_composer_tmp1 Reading ./composer.lock Loading composer repositories with package information Downloading https://repo.packagist.org/packages.json Writing /home/admin/.composer/cache/repo/https---repo.packagist.org/packages.json into cache Updating dependencies (including require-dev) Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2013.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2014.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2015.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2016.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2017.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2018.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-01.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-04.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-07.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-2019-10.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-archived.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/p-provider-latest.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-adbario$php-dot-notation.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-clagiordano$weblibs-configmanager.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-danielstjules$stringy.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-guzzlehttp$guzzle.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-mtdowling$jmespath.php.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-alibabacloud$client.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$polyfill-mbstring.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-guzzlehttp$psr7.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-guzzlehttp$promises.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-psr$http-message.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-ralouphie$getallheaders.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-aliyuncs$oss-sdk-php.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-doctrine$cache.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-easywechat-composer$easywechat-composer.json from cache Reading /home/admin/.composer/cache/repo/https---repo.packagist.org/provider-symfony$options-resolver.json from cache
해결 방법:
일반적으로 메모리가 부족하면 프로세스가 종료됩니다.
물리적 메모리를 늘릴 수 없다면 스왑 파티션 확장을 고려해 보세요.
참고 사항은 다음과 같습니다.
composer는 현재 메모리가 부족하여 설치 또는 업데이트 시 종료 오류를 표시합니다.
위 내용은 명령을 실행할 때 작곡가가 'Killed' 메시지를 표시하면 어떻게 되나요?의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!

작곡가가되는 단계에는 다음이 포함됩니다. 1. 메모, 리듬, 하모니 및 멜로디와 같은 음악의 기본 요소를 마스터합니다. 2. AbletonLive와 같은 적절한 기술 도구를 선택하십시오. 3. 영감 획득, 개념, 작문, 수정 및 개선을 포함하여 작곡 과정을 이해합니다. 4. 간단한 멜로디 생성으로 시작하고 조화와 같은 복잡한 기술을 점차적으로 시도하십시오. 5. 메모 선택 및 리듬 배열과 같은 디버깅 기술을 통해 일반적인 문제를 해결합니다. 6. 템플릿 사용, 버전 제어 및 협업과 같은 성능 최적화 및 모범 사례를 적용합니다.

Composer는 종속성 관리를 단순화하고 개발 효율성 및 코드 품질을 향상시키기 때문에 강력한 PHP 응용 프로그램을 구축하는 핵심 도구입니다. 1) Composer는 Composer.json 파일을 통해 프로젝트 종속성을 정의하고 이러한 종속성을 자동으로 다운로드하고 관리합니다. 2) Composer.lock 파일을 생성하여 종속성 버전이 벤더/autoload.php를 통해 자동으로로드되도록합니다. 3) 사용의 예에는 로그 라이브러리 추가와 같은 기본 사용 및 버전 제약 조건 및 환경 변수 관리와 같은 고급 사용법이 포함됩니다. 4) 일반적인 오류 디버깅 기술에는 의존성 충돌 및 네트워크 문제 처리가 포함됩니다. 5) 성능 최적화 제안에는 Composer.Lock 파일 사용 및 자동로드 최적화가 포함됩니다.

작곡가를 사용할 때 능숙 해지려면 다음과 같은 기술을 마스터해야합니다. 1. Composer.json 및 Composer.lock Files, 2. Composer의 작동 방식 이해, 3. Master Composer의 명령 줄 도구, 4. 기본 및 고급 사용법 이해, 5. 일반적인 오류 및 디버깅 기술에 익숙하고, 사용법을 최적화하고 모범 사례를 최적화해야합니다.

Composer는 프로젝트 종속성을 선언, 다운로드 및 관리하는 데 사용되는 PHP의 종속성 관리 도구입니다. 1) Composer.json 파일을 통한 종속성 선언, 2) ComposerInstall 명령을 사용하여 종속성을 설치하고 3) 종속성 트리를 구문 분석하고 Packagist에서 다운로드하십시오.

AppComposer는 응용 프로그램을 구축하고 관리하는 도구입니다. 1) 사전 정의 된 구성 요소를 드래그하고 구성하여 응용 프로그램 개발을 단순화하고 효율성을 향상시킵니다. 2) 개발자는 구성 요소를 정의하고 인터페이스를 결합하고 비즈니스 로직을 정의하며 궁극적으로 응용 프로그램을 렌더링 할 수 있습니다. 3) 작업 관리 및 조건부 렌더링과 같은 기본 및 고급 사용을 지원하여 유연한 응용 프로그램을 구축하는 데 도움이됩니다.

Composer는 PHP의 종속성 관리 도구입니다. 작곡가를 사용하는 핵심 단계는 다음과 같습니다. 1) Composer.json의 종속성 선언 "Stripe/Stripe-PHP": "^7.0"; 2) ComposerInstall을 실행하여 종속성을 다운로드하고 구성합니다. 3) Composer.lock 및 Autoload.php를 통해 버전 및 자동로드를 관리합니다. 작곡가는 종속성 관리를 단순화하고 프로젝트 효율성과 유지 관리를 향상시킵니다.

Composerai는 개발 효율성과 품질을 향상시키기 위해 코드를 생성하고 최적화하기위한 인공 지능 기반 도구입니다. 그 기능에는 다음이 포함됩니다. 1. 코드 생성 : 요구 사항에 따라 표준을 충족하는 코드 스 니펫 생성. 2. 코드 최적화 : 기존 코드를 분석하여 최적화 제안을하십시오. 3. 자동 테스트 : 테스트 케이스를 생성하여 코드 품질을 보장합니다.

Composer는 Android의 SurfaceFlinger 서비스의 일부이며 여러 그래픽 레이어를 최종 디스플레이 버퍼로 합성하는 일을 담당합니다. 1) 그래픽 계층을 수집, 2) 그래픽 레이어를 정렬하십시오.


핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

AI Hentai Generator
AI Hentai를 무료로 생성하십시오.

인기 기사

뜨거운 도구

스튜디오 13.0.1 보내기
강력한 PHP 통합 개발 환경

WebStorm Mac 버전
유용한 JavaScript 개발 도구

맨티스BT
Mantis는 제품 결함 추적을 돕기 위해 설계된 배포하기 쉬운 웹 기반 결함 추적 도구입니다. PHP, MySQL 및 웹 서버가 필요합니다. 데모 및 호스팅 서비스를 확인해 보세요.

SublimeText3 Linux 새 버전
SublimeText3 Linux 최신 버전

메모장++7.3.1
사용하기 쉬운 무료 코드 편집기
