libgv-php5 gv::render() function does not output to browser
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
graphviz (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: graphviz
Ubuntu info:
Description: Ubuntu 10.10
Release: 10.10
libgv-php5:
Installed: 2.26.3-4
Using the gv::render() function in PHP with two arguments, the binary data of the graph image should be output inline (have tried with several different output types). That is, a web browser should receive the image when visiting the PHP page. Instead, no data is output. This worked on Lucid.
When running the script from the command line, the function works as expected. i.e. binary data is output to stdout. Also when using the 3 argument form of gv::render() to save to a file, accessed via the web, the image file is correctly generated.
Note for testing: you'll need to add the file gv.ini to /etc/php5/
Forgot to add I'm on a 64bit system.