Hi
I just installed the Graphviz PEAR package in Cpanel and tried running the following script: (from http://pear.php.net/manual/en/package.images.image-graphviz.example.php )
[?php
require_once '/home/user_directory/php/Image/GraphViz.php';
$gv = new Image_GraphViz();
$gv->addEdge(array('wake up' => 'visit bathroom'));
$gv->addEdge(array('visit bathroom' => 'make coffee'));
$gv->image();
?]
If I run this script I get the following error message:
Warning: fopen(/tmp/graph_8xynSO.svg) [function.fopen]:
failed to open stream: No such file or directory in
/home/user_directory/php/Image/GraphViz.php on line 210
I checked the permissions on the /tmp directory: they're set to 777 (though I can't see the graph_8xynSO.svg file in there). Is there anywhere else I should be looking please?
Thanks,
PHP