[PHP] pecl install 실행시 shtool at '/tmp/pear/temp/EXTENSION_NAME/build/shtool' does not exist or is not executable 메시지와 함께 ERROR: `phpize' failed 발생
PHP 2021. 2. 10. 15:28
/tmp 디렉토리가 실행불가 상태인 경우임.
mount 옵션으로 해줘도 되지만 그냥 속편하게 temp directory를 다른 경로로 바꿔줘도 됨.
pecl config-set temp_dir /PATH/TO/temp
// 위 명령이 실패할 경우
pear config-set temp_dir /PATH/TO/temp
temp directory를 바꿔주고 다시 pecl install을 실행하면 정상적으로 extension이 설치됨.