우분투 16.04 엔진엑스 크론탭설정
본문
우분투16.04 엔진엑스1.11.10 php5.6 버전 사용중입니다.
php파일을 크론탭으로 실행할려구하는데 php경로가 안맞는지 실행이 안되내요
55 20 * * 6 /usr/bin/php5.6 -c /etc/php/5.6/fpm/php.ini /home/server/test.php > /home/server/test.log 2>&1
이렇게했는데
로그에 오류를 보니 이런오류가 뜨내요
requires the ionCube PHP Loader ioncube_loader_lin_5.6.so to be installed by the website operator. If you are the website operator please use the~~
이온큐브는 정상적으로 설치되어있습니다~
답변 2
wget -q "http://example.com/test.php" -O /home/server/test.log
실행문을 콘솔에서 바로실행해보시죠? 정대경로로 실행이 된다면 크론탭에서도 실행이될것 같은데요??
답변을 작성하시기 전에 로그인 해주세요.