diff --git a/src/freedombone-app-dokuwiki b/src/freedombone-app-dokuwiki index 020be316..c09b5d22 100755 --- a/src/freedombone-app-dokuwiki +++ b/src/freedombone-app-dokuwiki @@ -382,7 +382,7 @@ function install_dokuwiki { echo ' # With php-cgi alone:' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME echo ' # fastcgi_pass 127.0.0.1:9000;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME echo ' # With php-fpm:' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME echo ' include fastcgi_params;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME echo ' fastcgi_index index.php;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME echo ' fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME @@ -460,7 +460,7 @@ function install_dokuwiki { echo ' # With php-cgi alone:' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME echo ' # fastcgi_pass 127.0.0.1:9000;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME echo ' # With php-fpm:' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME echo ' include fastcgi_params;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME echo ' fastcgi_index index.php;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME echo ' fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;' >> /etc/nginx/sites-available/$DOKUWIKI_DOMAIN_NAME diff --git a/src/freedombone-app-friendica b/src/freedombone-app-friendica index ddad6ed0..c821d41c 100755 --- a/src/freedombone-app-friendica +++ b/src/freedombone-app-friendica @@ -428,7 +428,7 @@ function install_friendica { echo ' # With php-cgi alone:' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME echo ' # fastcgi_pass 127.0.0.1:9000;' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME echo ' # With php-fpm:' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME echo ' include fastcgi_params;' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME echo ' fastcgi_index index.php;' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME echo ' fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME @@ -496,7 +496,7 @@ function install_friendica { echo ' # With php-cgi alone:' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME echo ' # fastcgi_pass 127.0.0.1:9000;' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME echo ' # With php-fpm:' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME echo ' include fastcgi_params;' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME echo ' fastcgi_index index.php;' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME echo ' fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;' >> /etc/nginx/sites-available/$FRIENDICA_DOMAIN_NAME diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial index b0622cd9..6eaf2604 100755 --- a/src/freedombone-app-gnusocial +++ b/src/freedombone-app-gnusocial @@ -614,7 +614,7 @@ function install_gnusocial_main { echo ' # PHP' >> $gnusocial_nginx_site echo ' location ~ \.php {' >> $gnusocial_nginx_site echo ' include snippets/fastcgi-php.conf;' >> $gnusocial_nginx_site - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> $gnusocial_nginx_site + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> $gnusocial_nginx_site echo ' }' >> $gnusocial_nginx_site echo '' >> $gnusocial_nginx_site echo ' # Location' >> $gnusocial_nginx_site @@ -662,7 +662,7 @@ function install_gnusocial_main { echo ' # PHP' >> $gnusocial_nginx_site echo ' location ~ \.php {' >> $gnusocial_nginx_site echo ' include snippets/fastcgi-php.conf;' >> $gnusocial_nginx_site - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> $gnusocial_nginx_site + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> $gnusocial_nginx_site echo ' }' >> $gnusocial_nginx_site echo '' >> $gnusocial_nginx_site echo ' # Location' >> $gnusocial_nginx_site diff --git a/src/freedombone-app-htmly b/src/freedombone-app-htmly index 712e2f47..ae6e37c5 100755 --- a/src/freedombone-app-htmly +++ b/src/freedombone-app-htmly @@ -465,7 +465,7 @@ function install_htmly_website { echo ' # With php-cgi alone:' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME echo ' # fastcgi_pass 127.0.0.1:9000;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME echo ' # With php-fpm:' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME echo ' include fastcgi_params;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME echo ' fastcgi_index index.php;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME echo ' fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME @@ -544,7 +544,7 @@ function install_htmly_website_onion { echo ' # With php-cgi alone:' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME echo ' # fastcgi_pass 127.0.0.1:9000;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME echo ' # With php-fpm:' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME echo ' include fastcgi_params;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME echo ' fastcgi_index index.php;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME echo ' fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;' >> /etc/nginx/sites-available/$HTMLY_DOMAIN_NAME diff --git a/src/freedombone-app-hubzilla b/src/freedombone-app-hubzilla index a2444b20..bd7e4e1d 100755 --- a/src/freedombone-app-hubzilla +++ b/src/freedombone-app-hubzilla @@ -423,7 +423,7 @@ function install_hubzilla { echo ' # With php-cgi alone:' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME echo ' # fastcgi_pass 127.0.0.1:9000;' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME echo ' # With php-fpm:' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME echo ' include fastcgi_params;' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME echo ' fastcgi_index index.php;' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME echo ' fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME @@ -491,7 +491,7 @@ function install_hubzilla { echo ' # With php-cgi alone:' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME echo ' # fastcgi_pass 127.0.0.1:9000;' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME echo ' # With php-fpm:' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME echo ' include fastcgi_params;' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME echo ' fastcgi_index index.php;' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME echo ' fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;' >> /etc/nginx/sites-available/$HUBZILLA_DOMAIN_NAME diff --git a/src/freedombone-app-koel b/src/freedombone-app-koel index dc62b2d0..d437134d 100755 --- a/src/freedombone-app-koel +++ b/src/freedombone-app-koel @@ -554,7 +554,7 @@ function install_koel_main { echo ' # PHP' >> $koel_nginx_site echo ' location ~ \.php {' >> $koel_nginx_site echo ' include snippets/fastcgi-php.conf;' >> $koel_nginx_site - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> $koel_nginx_site + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> $koel_nginx_site echo ' }' >> $koel_nginx_site echo '' >> $koel_nginx_site echo ' # Location' >> $koel_nginx_site @@ -612,7 +612,7 @@ function install_koel_main { echo ' # PHP' >> $koel_nginx_site echo ' location ~ \.php {' >> $koel_nginx_site echo ' include snippets/fastcgi-php.conf;' >> $koel_nginx_site - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> $koel_nginx_site + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> $koel_nginx_site echo ' }' >> $koel_nginx_site echo '' >> $koel_nginx_site echo ' # Location' >> $koel_nginx_site diff --git a/src/freedombone-app-lychee b/src/freedombone-app-lychee index cd99aa97..01815854 100755 --- a/src/freedombone-app-lychee +++ b/src/freedombone-app-lychee @@ -265,7 +265,7 @@ function install_lychee_website { echo ' # With php-cgi alone:' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME echo ' # fastcgi_pass 127.0.0.1:9000;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME echo ' # With php-fpm:' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME echo ' include fastcgi_params;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME echo ' fastcgi_index index.html;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME echo ' fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME @@ -334,7 +334,7 @@ function install_lychee_website_onion { echo ' # With php-cgi alone:' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME echo ' # fastcgi_pass 127.0.0.1:9000;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME echo ' # With php-fpm:' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME echo ' include fastcgi_params;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME echo ' fastcgi_index index.html;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME echo ' fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;' >> /etc/nginx/sites-available/$LYCHEE_DOMAIN_NAME diff --git a/src/freedombone-app-movim b/src/freedombone-app-movim index de2f215c..a6b4afe8 100755 --- a/src/freedombone-app-movim +++ b/src/freedombone-app-movim @@ -435,7 +435,7 @@ function install_movim { echo ' # PHP' >> $movim_nginx_site echo ' location ~ \.php {' >> $movim_nginx_site echo ' include snippets/fastcgi-php.conf;' >> $movim_nginx_site - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> $movim_nginx_site + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> $movim_nginx_site echo ' }' >> $movim_nginx_site echo '' >> $movim_nginx_site echo ' # Location' >> $movim_nginx_site @@ -494,7 +494,7 @@ function install_movim { echo ' # PHP' >> $movim_nginx_site echo ' location ~ \.php {' >> $movim_nginx_site echo ' include snippets/fastcgi-php.conf;' >> $movim_nginx_site - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> $movim_nginx_site + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> $movim_nginx_site echo ' }' >> $movim_nginx_site echo '' >> $movim_nginx_site echo ' # Location' >> $movim_nginx_site diff --git a/src/freedombone-app-nextcloud b/src/freedombone-app-nextcloud index 9b485adc..a528f03f 100755 --- a/src/freedombone-app-nextcloud +++ b/src/freedombone-app-nextcloud @@ -463,7 +463,7 @@ function install_nextcloud_main { echo ' # PHP' >> $nextcloud_nginx_site echo ' location ~ \.php {' >> $nextcloud_nginx_site echo ' include snippets/fastcgi-php.conf;' >> $nextcloud_nginx_site - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> $nextcloud_nginx_site + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> $nextcloud_nginx_site echo ' }' >> $nextcloud_nginx_site echo '' >> $nextcloud_nginx_site echo ' # Location' >> $nextcloud_nginx_site @@ -518,7 +518,7 @@ function install_nextcloud_main { echo ' # PHP' >> $nextcloud_nginx_site echo ' location ~ \.php {' >> $nextcloud_nginx_site echo ' include snippets/fastcgi-php.conf;' >> $nextcloud_nginx_site - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> $nextcloud_nginx_site + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> $nextcloud_nginx_site echo ' }' >> $nextcloud_nginx_site echo '' >> $nextcloud_nginx_site echo ' # Location' >> $nextcloud_nginx_site diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv index c2134bdc..fe69f7bb 100755 --- a/src/freedombone-app-postactiv +++ b/src/freedombone-app-postactiv @@ -617,7 +617,7 @@ function install_postactiv_main { echo ' # PHP' >> $postactiv_nginx_site echo ' location ~ \.php {' >> $postactiv_nginx_site echo ' include snippets/fastcgi-php.conf;' >> $postactiv_nginx_site - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> $postactiv_nginx_site + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> $postactiv_nginx_site echo ' }' >> $postactiv_nginx_site echo '' >> $postactiv_nginx_site echo ' # Location' >> $postactiv_nginx_site @@ -665,7 +665,7 @@ function install_postactiv_main { echo ' # PHP' >> $postactiv_nginx_site echo ' location ~ \.php {' >> $postactiv_nginx_site echo ' include snippets/fastcgi-php.conf;' >> $postactiv_nginx_site - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> $postactiv_nginx_site + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> $postactiv_nginx_site echo ' }' >> $postactiv_nginx_site echo '' >> $postactiv_nginx_site echo ' # Location' >> $postactiv_nginx_site diff --git a/src/freedombone-app-rss b/src/freedombone-app-rss index 5bb4f2f7..a5a2e317 100755 --- a/src/freedombone-app-rss +++ b/src/freedombone-app-rss @@ -337,7 +337,7 @@ function install_rss_main { echo '' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo ' location ~ \.php {' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo ' include snippets/fastcgi-php.conf;' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo ' }' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo '' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo ' location / {' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME @@ -375,7 +375,7 @@ function install_rss_main { echo '' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo ' location ~ \.php {' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo ' include snippets/fastcgi-php.conf;' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo ' }' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo '' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo ' set $mobile_rewrite do_not_perform;' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME @@ -396,7 +396,7 @@ function install_rss_main { echo '' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo ' location ~ \.php {' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo ' include snippets/fastcgi-php.conf;' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME - echo ' fastcgi_pass unix:/var/run/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME + echo ' fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo ' }' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo '' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME echo ' location / {' >> /etc/nginx/sites-available/$RSS_READER_DOMAIN_NAME