[Build/Install] Graphviz cause error in PHP 5.6
Ported Issue from Mantis Original ID: 2561 Reported By: EFinlayson
SEVERITY: IMPORTANT Submitted: 2015-07-26 13:18:03
OS BUILD: 6.6
after installing Graphviz using the instructions on site: Download the graphviz-rhel.repo file and save it (as root) in /etc/yum.repos.d/ Then you can (as root) type:
yum list available 'graphviz*' yum install 'graphviz*
each time you run a hp instruction i.e.
php -v you will recieve
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gv.so' - /usr/lib64/php/modules/gv.so: undefined symbol: php_body_write in Unknown on line 0
The reason for the importance is the EVERY php script will raise this warning into the logs after graphviz effectively flooding the error_log
STEPS TO REPRODUCE
install graphviz under centos 6.6. using php 5.6 the try to run any php script
This is not trivial nor going to be deprecated any time soon. please treat this matter as important.