From aa56b174804b5e66f0a856c55f4a27938b4eeca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Fri, 23 Aug 2019 08:18:01 +0200 Subject: [PATCH] fixed regular exception --- vagrant/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index b5789e2..30cdb8e 100644 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -115,8 +115,8 @@ echo -e "\n--- Allowing Apache override to all ---\n" sudo sed -i "s/AllowOverride None/AllowOverride All/g" /etc/apache2/apache2.conf echo -e "\n--- We want to see the PHP errors, turning them on ---\n" -sed -i "s/error_reporting = .*/error_reporting = E_ALL/g" $PHP_INI -sed -i "s/display_errors = .*/display_errors = On/g" $PHP_INI +sed -i "s/.*error_reporting.*/error_reporting = E_ALL/g" $PHP_INI +sed -i "s/.*display_errors.*/display_errors = On/g" $PHP_INI