php-phantomjs icon indicating copy to clipboard operation
php-phantomjs copied to clipboard

dockerizing php-phantomjs

Open zengoma opened this issue 7 years ago • 1 comments

Hi, I'm trying to run phantomjs inside a docker container. My script works fine outside of the container, but my request is failing with a 0 status when running inside the container. Unfortunately no exceptions are thrown so it is difficult to debug, but the most likely reason is that I don't have the minimal set of required php extensions activated. I've looked through the documentation but can't seem to find the extensions required. These are the current extensions I have installed in my container:

php -m
[PHP Modules]
Core
ctype
curl
date
dom
fileinfo
filter
ftp
hash
iconv
json
libxml
mbstring
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]

Am I missing an extension that I need? Perhaps you could include required extensions in the prerequisite section of the docs?

Thanks!!

zengoma avatar Jul 28 '17 09:07 zengoma

Hey, I know it's a really old one but could you fix it? I'm stuck with the same issue

thrashzone13 avatar Sep 10 '21 07:09 thrashzone13