공유 호스트에 내 Laravel 프로젝트를 배포했습니다. 내 프로젝트에서 나는 로컬 호스트에서 잘 작동하지만, 라이브 서버에서 작동하지 않으며이 오류를 제공하는 wkhhtmltopdf을 사용하고 있습니다 :wkhtmltopdf가 라이브 공유 호스팅에서 작동하지 않습니다.
RuntimeException in AbstractGenerator.php line 336: The exit status code '127' says something went wrong: stderr: "sh: 1: /hermes/bosweb26a/b2003/ywh.xorlogics1/client/shisha/invoices/vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64: not found " stdout: "" command: /hermes/bosweb26a/b2003/ywh.xorlogics1/client/shisha/invoices/vendor/h4cc/wkhtmltopdf-amd64/bin/wkhtmltopdf-amd64 --lowquality '/tmp/knp_snappy57cecf069e11a3.25644949.html' '/tmp/knp_snappy57cecf069e1ff3.62352750.pdf'. "
공유 호스트가 wkhtmltopdf를 지원하고 모든 종속성 (예 : libXrender)이 설치되어 있습니까? – iainn
우리는 제어판을 통한 공유 호스팅에만 액세스 할 수 있으므로 ssh에서이 패키지를 설치할 수 없습니다. 또한 우리는 그들과 함께이 문제를 논의했지만 공유 호스팅이므로 설치가 불가능합니다. –
공유 호스팅 대신 VPS를 받으십시오. – jurgemaister