Replies: 1 comment 1 reply
-
I had this same issue when using Puppeteer > 21. What I ended up doing was setting the environment variables for my Browsershot instance as such:
Found the solution at puppeteer/puppeteer#11023 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am encountering an issue where a PHP script using Browsershot functions properly when executed from the command line, but fails to work when accessed via a URL through a web server.
This works:
sudo -u www-data php test.php
https://domain.name/test.php produces error:
Php:
I have been struggling with this for a few months now
I have tried several times to reinstall, update and change the individual libraries, but the problem always arises that the browser does not start from the php level.
Additional info:
Beta Was this translation helpful? Give feedback.
All reactions