Hi,
we’re new to linux and have choosen OpenSuse as distrib (LEAP 42.3). I’ve been following this post to install librenms even if it’s for ubuntu :
https://www.linuxhelp.com/how-to-install-librenms-in-ubuntu/
I’m currently trying to start install.php but it’s downloading instead.
I tried to create a test.html in the /librenms/html folder and it works, the text is correctly displayed on a worksation browser. In the same folder, I created a file called test.php and inserted the following code :
<?php
phpinfo();
?>
This also works, it displays informations about my OpenSuse server.
Why does http://[OpenSuse IP]/install.php keeps downloading instead of running ?
Can you help me please ?
Alexandre Chevrier
CSVT
The official docs are here:
https://docs.librenms.org/#Installation/Installation-Ubuntu-1604-Nginx/
https://docs.librenms.org/#Installation/Installation-Ubuntu-1604-Apache/
Sounds like you don’t have your webserver configured correctly. Please review the configuration in the official documentation.
Thanks, I followed the official doc and my problem is that Opensuse LEAP 42.3 has php 7.0.7 and librenms needs 7.0.8. I’m looking at this right now to find out how to install a newer php version.
No, LibreNMS only needs PHP >= 5.6.4 (7.1 or newer is recommended)
Strange, I get the following errors :
Problem 1
- Installation request for symfony/console v3.4.8 -> satisfiable by symfony/console[v3.4.8].
- symfony/console v3.4.8 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.7) does not satisfy that requirement.
Problem 2
- Installation request for symfony/css-selector v3.4.8 -> satisfiable by symfony/css-selector[v3.4.8].
- symfony/css-selector v3.4.8 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.7) does not satisfy that requirement.
Problem 3
- Installation request for symfony/debug v3.4.8 -> satisfiable by symfony/debug[v3.4.8].
- symfony/debug v3.4.8 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.7) does not satisfy that requirement.
Problem 4
- Installation request for symfony/event-dispatcher v3.4.8 -> satisfiable by symfony/event-dispatcher[v3.4.8].
- symfony/event-dispatcher v3.4.8 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.7) does not satisfy that requirement.
Problem 5
- Installation request for symfony/finder v3.4.8 -> satisfiable by symfony/finder[v3.4.8].
- symfony/finder v3.4.8 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.7) does not satisfy that requirement.
Problem 6
- Installation request for symfony/http-foundation v3.4.8 -> satisfiable by symfony/http-foundation[v3.4.8].
- symfony/http-foundation v3.4.8 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.7) does not satisfy that requirement.
Problem 7
- Installation request for symfony/http-kernel v3.4.8 -> satisfiable by symfony/http-kernel[v3.4.8].
- symfony/http-kernel v3.4.8 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.7) does not satisfy that requirement.
Problem 8
- Installation request for symfony/process v3.4.8 -> satisfiable by symfony/process[v3.4.8].
- symfony/process v3.4.8 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.7) does not satisfy that requirement.
Problem 9
- Installation request for symfony/var-dumper v3.4.8 -> satisfiable by symfony/var-dumper[v3.4.8].
- symfony/var-dumper v3.4.8 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.7) does not satisfy that requirement.
Problem 10
- symfony/event-dispatcher v3.4.8 requires php ^5.5.9|>=7.0.8 -> your PHP version (7.0.7) does not satisfy that requirement.
- influxdb/influxdb-php 1.14.5 requires symfony/event-dispatcher ^2.0 || ^3.0 || ^4.0 -> satisfiable by symfony/event-dispatcher[v3.4.8].
- Installation request for influxdb/influxdb-php 1.14.5 -> satisfiable by influxdb/influxdb-php[1.14.5].
Forgot to mention that this happens running :
sudo composer create-project --no-dev --keep-vcs librenms/librenms librenms dev-master
Hmm, what version of composer are you using?
composer --version
Hi,
I downloaded the opensuse leap 15.0 pre-build and updated my 42.3 version. Since then, I no longer have php errors. I finished installing it but I still have problems to make it work… probably due to the way I started with a doc found on google.
I’m going to wait for the offical release of LEAP 15.0 and start over.
Composer is now version : Composer version 1.6.5 2018-05-04 11:44:59