반응형 closure1 PHP Closure 에서 $this 호출 에러 에러 메세지는 using $this when not in object context in ... 등등 하고 나온다. 신기하게도 회사에서의 우분투환경에서는 에러가 발생하지 않는데 집에서 새로 구성한 우분투에서는 위하고 똑같은 에러가발생한다. 코드는 단 한줄도 한자도 수정하지 않았는데.해서 구글링을.. 오랜 시간 하다보니... 버젼 문제였다. PHP 5.4.10 is not available in the Ubuntu repositories for 12.04. You have two options: (1) try and find a PPA with a backported version of PHP 5.4.10 (such as ondrej's oldstable PPA) a) Run this command: su.. 2014. 2. 16. 이전 1 다음 반응형