Use the following command to install imagick with Docker image php:7.1-fpm-alpine. # imagick RUN apk add --update --no-cache autoconf g++ imagemagick imagemagick-dev libtool make pcre-dev \ && pecl install imagick \ && docker-php-ext-enable imagick…

php에서 call stack을 출력하기 위해서는 다음을 사용하면 된다. echo (new \Exception)->getTraceAsString(); 예제 <?php function firstFunction() { secondFunction(); } function secondFunction() { thridFunction(); } function thridFunction() { echo (new \Exception)->getTraceAsString(); } firstFunction(); 출력 #0 /Users/…

특정 라인에서 자바스크립트 call stack을 출력하기 위해서 다음을 사용할 수 있다. console.log(new Error().stack); 예제: function firstFunction() { secondFunction(); } function secondFunction() { thridFunction(); } function thridFunction() { console.log(new Error().stack); } firstFunction(); 출력 Error at thridFunction…

Ghost는 포스트 URL에 한글이 있는 경우 이의 영문 발음 표기로 자동으로 변경한다(unidecode 모듈이 담당). 예를 들어 안녕하세요는 anneonghaseyou로 변경된다. 자동 변환을 사용하지 않고 한글 그대로 URL에 사용하는 방법은 현재 제공을 하고 있지 않아서 소스를…