From b707165a259d00e7b8d9e8ffba1502901cf4e32b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Dudr?= Date: Fri, 6 May 2022 17:59:53 +0200 Subject: [PATCH] fix php --- dot_config/php/71/fpm/{php-fpm.conf => php-fpm.conf.tmpl} | 4 ++-- dot_config/php/72/fpm/{php-fpm.conf => php-fpm.conf.tmpl} | 4 ++-- dot_config/php/72/{php.ini => php.ini.tmpl} | 2 +- dot_config/php/73/fpm/{php-fpm.conf => php-fpm.conf.tmpl} | 4 ++-- dot_config/php/74/fpm/{php-fpm.conf => php-fpm.conf.tmpl} | 4 ++-- dot_config/php/74/{php.ini => php.ini.tmpl} | 4 ++-- dot_config/php/80/fpm/{php-fpm.conf => php-fpm.conf.tmpl} | 4 ++-- dot_config/php/80/{php.ini => php.ini.tmpl} | 4 ++-- dot_config/php/81/fpm/{php-fpm.conf => php-fpm.conf.tmpl} | 4 ++-- dot_config/php/81/{php.ini => php.ini.tmpl} | 4 ++-- 10 files changed, 19 insertions(+), 19 deletions(-) rename dot_config/php/71/fpm/{php-fpm.conf => php-fpm.conf.tmpl} (71%) rename dot_config/php/72/fpm/{php-fpm.conf => php-fpm.conf.tmpl} (76%) rename dot_config/php/72/{php.ini => php.ini.tmpl} (99%) rename dot_config/php/73/fpm/{php-fpm.conf => php-fpm.conf.tmpl} (71%) rename dot_config/php/74/fpm/{php-fpm.conf => php-fpm.conf.tmpl} (76%) rename dot_config/php/74/{php.ini => php.ini.tmpl} (99%) rename dot_config/php/80/fpm/{php-fpm.conf => php-fpm.conf.tmpl} (76%) rename dot_config/php/80/{php.ini => php.ini.tmpl} (99%) rename dot_config/php/81/fpm/{php-fpm.conf => php-fpm.conf.tmpl} (76%) rename dot_config/php/81/{php.ini => php.ini.tmpl} (99%) diff --git a/dot_config/php/71/fpm/php-fpm.conf b/dot_config/php/71/fpm/php-fpm.conf.tmpl similarity index 71% rename from dot_config/php/71/fpm/php-fpm.conf rename to dot_config/php/71/fpm/php-fpm.conf.tmpl index e333f51..c64d6bb 100644 --- a/dot_config/php/71/fpm/php-fpm.conf +++ b/dot_config/php/71/fpm/php-fpm.conf.tmpl @@ -16,5 +16,5 @@ request_terminate_timeout = 0 php_admin_value[error_log] = /dev/stderr ;php_admin_flag[log_errors] = on ;php_admin_value[memory_limit] = 32M -php_admin_value[sendmail_path] = /home/sogun/bin/pipemail -php_admin_value[sys_temp_dir] = /home/sogun/jopixel/webserver/temp +php_admin_value[sendmail_path] = {{.chezmoi.homeDir}}/bin/pipemail +php_admin_value[sys_temp_dir] = {{.chezmoi.homeDir}}/jopixel/webserver/temp diff --git a/dot_config/php/72/fpm/php-fpm.conf b/dot_config/php/72/fpm/php-fpm.conf.tmpl similarity index 76% rename from dot_config/php/72/fpm/php-fpm.conf rename to dot_config/php/72/fpm/php-fpm.conf.tmpl index 3d57127..594dcb7 100644 --- a/dot_config/php/72/fpm/php-fpm.conf +++ b/dot_config/php/72/fpm/php-fpm.conf.tmpl @@ -22,5 +22,5 @@ catch_workers_output = yes php_admin_value[error_log] = /dev/stderr ;php_admin_flag[log_errors] = on ;php_admin_value[memory_limit] = 32M -php_admin_value[sendmail_path] = /home/sogun/bin/pipemail -php_admin_value[sys_temp_dir] = /home/sogun/jopixel/webserver/temp +php_admin_value[sendmail_path] = {{.chezmoi.homeDir}}/bin/pipemail +php_admin_value[sys_temp_dir] = {{.chezmoi.homeDir}}/jopixel/webserver/temp diff --git a/dot_config/php/72/php.ini b/dot_config/php/72/php.ini.tmpl similarity index 99% rename from dot_config/php/72/php.ini rename to dot_config/php/72/php.ini.tmpl index 14f1d0c..ed29a4c 100644 --- a/dot_config/php/72/php.ini +++ b/dot_config/php/72/php.ini.tmpl @@ -1030,7 +1030,7 @@ smtp_port = 25 ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path -sendmail_path = /home/sogun/bin/pipemail +sendmail_path = {{.chezmoi.homeDir}}/bin/pipemail ; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of diff --git a/dot_config/php/73/fpm/php-fpm.conf b/dot_config/php/73/fpm/php-fpm.conf.tmpl similarity index 71% rename from dot_config/php/73/fpm/php-fpm.conf rename to dot_config/php/73/fpm/php-fpm.conf.tmpl index 493ed1a..873f9c9 100644 --- a/dot_config/php/73/fpm/php-fpm.conf +++ b/dot_config/php/73/fpm/php-fpm.conf.tmpl @@ -16,5 +16,5 @@ request_terminate_timeout = 0 php_admin_value[error_log] = /dev/stderr ;php_admin_flag[log_errors] = on ;php_admin_value[memory_limit] = 32M -php_admin_value[sendmail_path] = /home/sogun/bin/pipemail -php_admin_value[sys_temp_dir] = /home/sogun/jopixel/webserver/temp +php_admin_value[sendmail_path] = {{.chezmoi.homeDir}}/bin/pipemail +php_admin_value[sys_temp_dir] = {{.chezmoi.homeDir}}/jopixel/webserver/temp diff --git a/dot_config/php/74/fpm/php-fpm.conf b/dot_config/php/74/fpm/php-fpm.conf.tmpl similarity index 76% rename from dot_config/php/74/fpm/php-fpm.conf rename to dot_config/php/74/fpm/php-fpm.conf.tmpl index 542bdaf..b4f51a2 100644 --- a/dot_config/php/74/fpm/php-fpm.conf +++ b/dot_config/php/74/fpm/php-fpm.conf.tmpl @@ -22,5 +22,5 @@ catch_workers_output = yes php_admin_value[error_log] = /dev/stderr ;php_admin_flag[log_errors] = on ;php_admin_value[memory_limit] = 32M -php_admin_value[sendmail_path] = /home/sogun/bin/pipemail -php_admin_value[sys_temp_dir] = /home/sogun/jopixel/webserver/temp +php_admin_value[sendmail_path] = {{.chezmoi.homeDir}}/bin/pipemail +php_admin_value[sys_temp_dir] = {{.chezmoi.homeDir}}/jopixel/webserver/temp diff --git a/dot_config/php/74/php.ini b/dot_config/php/74/php.ini.tmpl similarity index 99% rename from dot_config/php/74/php.ini rename to dot_config/php/74/php.ini.tmpl index 716e5be..1c0200e 100644 --- a/dot_config/php/74/php.ini +++ b/dot_config/php/74/php.ini.tmpl @@ -1065,7 +1065,7 @@ smtp_port = 25 ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path -sendmail_path = /home/sogun/bin/pipemail +sendmail_path = {{.chezmoi.homeDir}}/bin/pipemail ; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of @@ -1327,7 +1327,7 @@ session.save_handler = files ; where MODE is the octal representation of the mode. Note that this ; does not overwrite the process's umask. ; http://php.net/session.save-path -session.save_path = "/home/sogun/jopixel/webserver/sessions" +session.save_path = "{{.chezmoi.homeDir}}/jopixel/webserver/sessions" ; Whether to use strict session mode. ; Strict session mode does not accept an uninitialized session ID, and diff --git a/dot_config/php/80/fpm/php-fpm.conf b/dot_config/php/80/fpm/php-fpm.conf.tmpl similarity index 76% rename from dot_config/php/80/fpm/php-fpm.conf rename to dot_config/php/80/fpm/php-fpm.conf.tmpl index 7db63fe..5e528ed 100644 --- a/dot_config/php/80/fpm/php-fpm.conf +++ b/dot_config/php/80/fpm/php-fpm.conf.tmpl @@ -22,5 +22,5 @@ catch_workers_output = yes php_admin_value[error_log] = /dev/stderr ;php_admin_flag[log_errors] = on ;php_admin_value[memory_limit] = 32M -php_admin_value[sendmail_path] = /home/sogun/bin/pipemail -php_admin_value[sys_temp_dir] = /home/sogun/jopixel/webserver/temp +php_admin_value[sendmail_path] = {{.chezmoi.homeDir}}/bin/pipemail +php_admin_value[sys_temp_dir] = {{.chezmoi.homeDir}}/jopixel/webserver/temp diff --git a/dot_config/php/80/php.ini b/dot_config/php/80/php.ini.tmpl similarity index 99% rename from dot_config/php/80/php.ini rename to dot_config/php/80/php.ini.tmpl index de3d563..fc261d4 100644 --- a/dot_config/php/80/php.ini +++ b/dot_config/php/80/php.ini.tmpl @@ -1066,7 +1066,7 @@ smtp_port = 25 ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path -sendmail_path = /home/sogun/bin/pipemail +sendmail_path = {{.chezmoi.homeDir}}/bin/pipemail ; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of @@ -1328,7 +1328,7 @@ session.save_handler = files ; where MODE is the octal representation of the mode. Note that this ; does not overwrite the process's umask. ; http://php.net/session.save-path -session.save_path = "/home/sogun/jopixel/webserver/sessions" +session.save_path = "{{.chezmoi.homeDir}}/jopixel/webserver/sessions" ; Whether to use strict session mode. ; Strict session mode does not accept an uninitialized session ID, and diff --git a/dot_config/php/81/fpm/php-fpm.conf b/dot_config/php/81/fpm/php-fpm.conf.tmpl similarity index 76% rename from dot_config/php/81/fpm/php-fpm.conf rename to dot_config/php/81/fpm/php-fpm.conf.tmpl index e473fb5..8ef69a3 100644 --- a/dot_config/php/81/fpm/php-fpm.conf +++ b/dot_config/php/81/fpm/php-fpm.conf.tmpl @@ -22,5 +22,5 @@ catch_workers_output = yes php_admin_value[error_log] = /dev/stderr ;php_admin_flag[log_errors] = on ;php_admin_value[memory_limit] = 32M -php_admin_value[sendmail_path] = /home/sogun/bin/pipemail -php_admin_value[sys_temp_dir] = /home/sogun/jopixel/webserver/temp +php_admin_value[sendmail_path] = {{.chezmoi.homeDir}}/bin/pipemail +php_admin_value[sys_temp_dir] = {{.chezmoi.homeDir}}/jopixel/webserver/temp diff --git a/dot_config/php/81/php.ini b/dot_config/php/81/php.ini.tmpl similarity index 99% rename from dot_config/php/81/php.ini rename to dot_config/php/81/php.ini.tmpl index 449f951..84a0b0d 100644 --- a/dot_config/php/81/php.ini +++ b/dot_config/php/81/php.ini.tmpl @@ -1088,7 +1088,7 @@ smtp_port = 25 ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path -sendmail_path = /home/sogun/bin/pipemail +sendmail_path = {{.chezmoi.homeDir}}/bin/pipemail ; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of @@ -1350,7 +1350,7 @@ session.save_handler = files ; where MODE is the octal representation of the mode. Note that this ; does not overwrite the process's umask. ; http://php.net/session.save-path -session.save_path = "/home/sogun/jopixel/webserver/sessions" +session.save_path = "{{.chezmoi.homeDir}}/jopixel/webserver/sessions" ; Whether to use strict session mode. ; Strict session mode does not accept an uninitialized session ID, and