0

I am working laravel project, I convert the view page as an image using anam/phantommagick package enter link description here. It Working fine in my local system (Ubuntu 16.04.6 LTS).But move the server it's not working.

i got below error enter image description here

I added the phantomjs-linux-x86-binary Dependencies .

Selvamani P
  • 7,045
  • 3
  • 14
  • 22
  • 1
    Have you checked the path to the binary? – Dan May 15 '19 at 08:13
  • @Dan Yes, I tried below code too $conv = new Converter(); $conv->setBinary("BASE_PATH/vendor/anam/phantomjs-linux-x86-binary/bin/phantomjs"); $conv->make('https:facebook.com') ->toPng() ->save(public_path().'/multipage1.png'); – Selvamani P May 15 '19 at 08:14

0 Answers0