mreiferson/php-wkhtmltox — Issue #18: Failure with file path as 'page' parameter
Author: timwhitlock
Created: 2011-12-09 17:48:45+00:00
State: open

I've got this working great with URLs and even STDIN via a PHP command line script.
However, it seems to fail with local file paths. I've even tried prefixing them with 'file://' but no joy.

According to the settings documentation, the 'page' parameter can be a path:
- "The URL or path of the web page to convert, if "-" input is read from stdin."

When run via PHP command line, the function just returns false and no error is raised.
When run via PHP-FPM (fast cgi) the server gets a bad gateway, and no error is logged.

Is this expected behaviour? i.e. are local file paths supported?