Sfoglia il codice sorgente

php location on ubuntu 16.04

Serghey Rodin 9 anni fa
parent
commit
07321b2397
42 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 2 2
      bin/v-delete-web-domain-backend
  2. 2 2
      func/domain.sh
  3. 0 0
      install/ubuntu/16.04/php-fpm/www.conf
  4. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/cms_made_simple.stpl
  5. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/cms_made_simple.tpl
  6. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/codeigniter2.stpl
  7. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/codeigniter2.tpl
  8. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/codeigniter3.stpl
  9. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/codeigniter3.tpl
  10. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/datalife_engine.stpl
  11. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/datalife_engine.tpl
  12. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/default.stpl
  13. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/default.tpl
  14. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/dokuwiki.stpl
  15. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/dokuwiki.tpl
  16. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/drupal6.stpl
  17. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/drupal6.tpl
  18. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/drupal7.stpl
  19. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/drupal7.tpl
  20. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/drupal8.stpl
  21. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/drupal8.tpl
  22. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/joomla.stpl
  23. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/joomla.tpl
  24. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/modx.stpl
  25. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/modx.tpl
  26. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/moodle.stpl
  27. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/moodle.tpl
  28. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/no-php.stpl
  29. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/no-php.tpl
  30. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/owncloud.stpl
  31. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/owncloud.tpl
  32. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/piwik.stpl
  33. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/piwik.tpl
  34. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/pyrocms.stpl
  35. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/pyrocms.tpl
  36. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/wordpress.stpl
  37. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/wordpress.tpl
  38. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/wordpress2.stpl
  39. 0 0
      install/ubuntu/16.04/templates/web/nginx/php-fpm/wordpress2.tpl
  40. 0 0
      install/ubuntu/16.04/templates/web/php-fpm/default.tpl
  41. 0 0
      install/ubuntu/16.04/templates/web/php-fpm/no-php.tpl
  42. 1 1
      install/ubuntu/16.04/templates/web/php-fpm/socket.tpl

+ 2 - 2
bin/v-delete-web-domain-backend

@@ -44,8 +44,8 @@ fi
 if [ -d "/etc/php5/fpm/pool.d" ]; then
     pool="/etc/php5/fpm/pool.d"
 fi
-if [ -d "/etc/php/fpm/pool.d" ]; then
-    pool="/etc/php/fpm/pool.d"
+if [ -d "/etc/php/7.0/fpm/pool.d" ]; then
+    pool="/etc/php/7.0/fpm/pool.d"
 fi
 if [ ! -e "$pool" ]; then
     pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))

+ 2 - 2
func/domain.sh

@@ -90,8 +90,8 @@ prepare_web_backend() {
     if [ -d "/etc/php5/fpm/pool.d" ]; then
         pool="/etc/php5/fpm/pool.d"
     fi
-    if [ -d "/etc/php/fpm/pool.d" ]; then
-        pool="/etc/php/fpm/pool.d"
+    if [ -d "/etc/php/7.0/fpm/pool.d" ]; then
+        pool="/etc/php/7.0/fpm/pool.d"
     fi
     if [ ! -e "$pool" ]; then
         pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))

+ 0 - 0
install/ubuntu/16.04/php5-fpm/www.conf → install/ubuntu/16.04/php-fpm/www.conf


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/cms_made_simple.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/cms_made_simple.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/cms_made_simple.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/cms_made_simple.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/codeigniter2.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/codeigniter2.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/codeigniter2.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/codeigniter2.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/codeigniter3.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/codeigniter3.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/codeigniter3.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/codeigniter3.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/datalife_engine.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/datalife_engine.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/datalife_engine.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/datalife_engine.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/default.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/default.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/default.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/default.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/dokuwiki.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/dokuwiki.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/dokuwiki.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/dokuwiki.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/drupal6.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/drupal6.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/drupal6.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/drupal6.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/drupal7.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/drupal7.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/drupal7.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/drupal7.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/drupal8.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/drupal8.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/drupal8.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/drupal8.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/joomla.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/joomla.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/joomla.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/joomla.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/modx.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/modx.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/modx.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/modx.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/moodle.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/moodle.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/moodle.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/moodle.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/no-php.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/no-php.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/no-php.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/no-php.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/owncloud.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/owncloud.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/owncloud.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/owncloud.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/piwik.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/piwik.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/piwik.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/piwik.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/pyrocms.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/pyrocms.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/pyrocms.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/pyrocms.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/wordpress.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/wordpress.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/wordpress.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/wordpress.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/wordpress2.stpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/wordpress2.stpl


+ 0 - 0
install/ubuntu/16.04/templates/web/nginx/php5-fpm/wordpress2.tpl → install/ubuntu/16.04/templates/web/nginx/php-fpm/wordpress2.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/php5-fpm/default.tpl → install/ubuntu/16.04/templates/web/php-fpm/default.tpl


+ 0 - 0
install/ubuntu/16.04/templates/web/php5-fpm/no-php.tpl → install/ubuntu/16.04/templates/web/php-fpm/no-php.tpl


+ 1 - 1
install/ubuntu/16.04/templates/web/php5-fpm/socket.tpl → install/ubuntu/16.04/templates/web/php-fpm/socket.tpl

@@ -1,5 +1,5 @@
 [%backend%]
-listen = /var/run/php5-%backend%.sock
+listen = /var/run/php/php7.0-fpm.sock
 listen.allowed_clients = 127.0.0.1
 
 user = %user%