Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
Since the phantomjs command executes fine in command line but not in PHP I think the difference might be the user account executing the command (your account in command line and IIS web user in PHP). Could you pls try to switch to using Apache and see if it makes different. Tks,
Yes, I did. Your command is fine now. The only problem is that Phantomjs seems not running correctly. Pls try install it again using this link as guidance:
https://tecadmin.net/install-phantomjs-on-ubuntu/
Then verify it by running phantomjs --version.
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo