Posts tagged with php


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/…

Laravel로 프로젝트를 수행하면서 몰랐거나, 자주 헷갈리거나, 이해가 안되서 더 찾아봐야 하는 내용을 정리해 봤다. 써 보니 내 무지가 적나라하게 드러나는 것 같아 무척 창피하다. 이 글은 완성이 아니며 계속 수정될 거고, 잘못된 내용도 많을 것이다.…