From f0b42cf364aa6d5ca471b4e27eb7a3065a049b1e Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Fri, 26 May 2017 21:43:48 +0200 Subject: [PATCH] Add explicit dependencies to the PHP extensions "dom" and "mbstring" Pico doesn't require the PHP extensions itself, but erusev/parsedown-extra does. The explicit composer.json requirements are necessary until erusev/parsedown-extra#85 gets merged. Both extensions aren't part of Ubuntu's default LAMP setup anymore. --- composer.json | 2 ++ index.php.dist | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5894970..fc0ad92 100644 --- a/composer.json +++ b/composer.json @@ -24,6 +24,8 @@ }, "require": { "php": ">=5.3.6", + "ext-dom": "*", + "ext-mbstring": "*", "twig/twig": "^1.18", "erusev/parsedown-extra": "^0.7", "symfony/yaml" : "^2.3" diff --git a/index.php.dist b/index.php.dist index 0ec230c..78125ad 100644 --- a/index.php.dist +++ b/index.php.dist @@ -1,9 +1,15 @@