mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Error for insufficient php version during install (#8292)
Remove platform from composer.json so users get an error if their php version isn't new enough. Add extensions to composer.json too
This commit is contained in:
committed by
Neil Lathwood
co-authored by
Neil Lathwood
parent
764abde504
commit
31bf122d4f
+11
-4
@@ -12,12 +12,15 @@
|
||||
"issues": "https://github.com/librenms/librenms/issues/",
|
||||
"irc": "irc://irc.freenode.org/#librenms"
|
||||
},
|
||||
"config": {
|
||||
"optimize-autoloader": true,
|
||||
"platform": {"php": "5.6.4"}
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.6.4",
|
||||
"ext-mysqli": "*",
|
||||
"ext-pcre": "*",
|
||||
"ext-curl": "*",
|
||||
"ext-session": "*",
|
||||
"ext-snmp": "*",
|
||||
"ext-xml": "*",
|
||||
"ext-gd": "*",
|
||||
"ezyang/htmlpurifier": "^4.8",
|
||||
"phpmailer/phpmailer": "^5.2.21",
|
||||
"slim/slim": "^2.6",
|
||||
@@ -41,6 +44,10 @@
|
||||
"jakub-onderka/php-console-highlighter": "*",
|
||||
"fojuth/readmegen": "1.*"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-memcached": "Required if you utilize distributed polling",
|
||||
"ext-posix": "Allows for additional validation tests"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"LibreNMS\\": "LibreNMS",
|
||||
|
||||
Reference in New Issue
Block a user