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:
Tony Murray
2018-02-28 06:47:42 +00:00
committed by Neil Lathwood
co-authored by Neil Lathwood
parent 764abde504
commit 31bf122d4f
+11 -4
View File
@@ -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",