# Updating system libraries used by emoncms

**URL:** <https://community.openenergymonitor.org/t/updating-system-libraries-used-by-emoncms/6274>\
**Category:** Installation\
**Created:** [15 January 2018 20:42 UTC](https://community.openenergymonitor.org/t/updating-system-libraries-used-by-emoncms/6274 "2018-01-15T20:42:23Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [18 January 2018 08:21 UTC](https://community.openenergymonitor.org/t/updating-system-libraries-used-by-emoncms/6274/22 "2018-01-18T08:21:15Z")

</div>

I’d go further than this and suggest a script that took out the guesswork, checked for PHP versions and created the right links.

Am I right in thinking that this is also better a better method if you are using a stack that is not Apache? i.e. works for all stacks?

Could also have a small script for the MQTT libraries as well.

I’d suggest, it may well be easier to maintain a script, than keeping the install guides correct. This may well get more of a chore as the Stretch v Jessie questions arise as folk start to migrate.

All I’d ask is that the script’s commands run at the same level the script is run at. I tend to use DietPi which has a root login as default so scripts with a liberal sprinkling of ‘sudo’ are a pest!

---

_[View the full topic](https://community.openenergymonitor.org/t/updating-system-libraries-used-by-emoncms/6274)._
