osx - How to install RRD PHP extension on OS X -


i need support of rrdtool http://php.net/manual/en/ref.rrd.php in php installation. i'm used install php extensions using homebrew. however, time rrd there isn't available.

how can install extension can use functions rrd_fetch() etc.?

in case strugling same, install using pecl

pecl install rrd

you need have php installation pear: brew install php71 --with-pear.

also, don't forget see pear config notes after php installation or using brew info php71:

✩✩✩✩ pear ✩✩✩✩

if pear complains permissions, 'fix' default pear permissions , config:

chmod -r ug+w /usr/local/opt/php71/lib/php pear config-set php_ini /usr/local/etc/php/7.1/php.ini system 

Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -