Hi all,
We have a customer who just migrated from an Apache server to a LiteSpeed server. He's developing a script that worked before, but hasn't worked since the migration.
<?php
passthru('/home/username/public_html/example.com/cgi-bin/wkhtmltoimage http://google.com/ /tmp/test.png 2>&1');
?>
The script does run on this server from the command line, as the user in question. We have them in a cagefs environment, as well.
What we see when we run the program is:
Loading page (1/2) [> ] 0% [======> ] 10%
And then the connection is dropped. We expect it to load 100%, then terminate after having creating a graphic file in /tmp.
We don't see any errors in the logs and we don't think they're hitting any resource limitations.
Any ideas would be most appreciated.
Mike D.
We have a customer who just migrated from an Apache server to a LiteSpeed server. He's developing a script that worked before, but hasn't worked since the migration.
<?php
passthru('/home/username/public_html/example.com/cgi-bin/wkhtmltoimage http://google.com/ /tmp/test.png 2>&1');
?>
The script does run on this server from the command line, as the user in question. We have them in a cagefs environment, as well.
What we see when we run the program is:
Loading page (1/2) [> ] 0% [======> ] 10%
And then the connection is dropped. We expect it to load 100%, then terminate after having creating a graphic file in /tmp.
We don't see any errors in the logs and we don't think they're hitting any resource limitations.
Any ideas would be most appreciated.
Mike D.