From 16166917cbe36b8b62c49652dd91b01342845d8f Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 17 Jan 2018 18:51:58 +0100 Subject: [PATCH] Also patch the php socket path --- src/yunohost/app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index f07e34783..8b9f699d4 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -2202,5 +2202,8 @@ def _patch_php5(app_folder): if not os.path.isfile(filename): continue - c = "sed -i -e 's@/etc/php5@/etc/php/7.0@g' -e 's@php5@php7.0@g' %s" % filename + c = "sed -i -e 's@/etc/php5@/etc/php/7.0@g' " \ + "-e 's@/var/run/php5-fpm@/var/run/php/php7.0-fpm@g' " \ + "-e 's@php5@php7.0@g' " \ + "%s" % filename os.system(c)