mbolli / nfsen-ng

Responsive NetFlow visualizer built on top of nfdump tools.
Apache License 2.0
232 stars 44 forks source link

extension RRD not properly integrating with PHP #94

Closed huntson closed 10 months ago

huntson commented 1 year ago

Following instructions for Ubuntu 22.04.

After: "pecl install rrd"

I get: configuration option "php_ini" is not set to php.ini location You should add "extension=rrd.so" to php.ini

I attempt" echo "extension=rrd.so" > /etc/php/8.1/mods-available/rrd.ini"

however I get -bash: /etc/php/8.1/mods-available/rrd.ini: Permission denied

The rrd.ini file does not exist in that directory. Any thoughts?

mbolli commented 1 year ago

you probably need to perform the last command with elevated rights, e.g. sudo.