Skip to content
GitLab
Explore
Sign in
Register
Pâquerette
Infrastructure
Ansible Pâquerette
Compare revisions
ce1bebc3d0cafea3822d544d3fe8942c60b85092 to f4af33b9b2a0b8b0511c751e0dc5d9166b2e98ba
Commits on Source (2)
[fix] OpCache modifications
· 7cd16e39
Julien Gomes Dias
authored
Aug 02, 2022
7cd16e39
Merge branch 'frju365-master-patch-29615' into 'master'
· f4af33b9
Julien Gomes Dias
authored
Aug 02, 2022
[fix] OpCache modifications See merge request
!20
f4af33b9
Hide whitespace changes
Inline
Side-by-side
roles/php7_fpm/tasks/configure_fpm.yml
View file @
f4af33b9
...
...
@@ -19,7 +19,7 @@
notify
:
reload php-fpm php7_fpm
tags
:
-
confphpfpm
-
name
:
"
opcache.revalidate_freq
to
{{
opcache_revalidate_freq
}}
for
PHP{{
php_version
}}"
lineinfile
:
line
:
"
opcache.revalidate_freq
=
{{
opcache_revalidate_freq
}}"
...
...
@@ -91,7 +91,7 @@
-
confphpfpm
-
name
:
"
upl
a
od_max_filesize
limit
from
2M
to
{{
php_upload_max_filesize
}}
for
PHP{{
php_version
}}"
-
name
:
"
uplo
a
d_max_filesize
limit
from
2M
to
{{
php_upload_max_filesize
}}
for
PHP{{
php_version
}}"
lineinfile
:
line
:
"
upload_max_filesize
=
{{
php_upload_max_filesize
}}"
regexp
:
"
^upload_max_filesize"
...
...
roles/php7_fpm/tasks/main.yml
View file @
f4af33b9
...
...
@@ -130,30 +130,6 @@
state
:
present
notify
:
reload php-fpm php7_fpm
-
name
:
"
OP
Cache
for
PHP{{
php_version
}}"
lineinfile
:
line
:
"
opcache.interned_strings_buffer=8"
insertafter
:
"
;opcache.interned_strings_buffer"
path
:
"
{{
php_ini_file
}}"
state
:
present
notify
:
reload php-fpm php7_fpm
-
name
:
"
OP
Cache
for
PHP{{
php_version
}}"
lineinfile
:
line
:
"
opcache.max_accelerated_files=10000"
insertafter
:
"
;opcache.max_accelerated_files"
path
:
"
{{
php_ini_file
}}"
state
:
present
notify
:
reload php-fpm php7_fpm
-
name
:
"
OP
Cache
for
PHP{{
php_version
}}"
lineinfile
:
line
:
"
opcache.revalidate_freq=1"
insertafter
:
"
;opcache.revalidate_freq"
path
:
"
{{
php_ini_file
}}"
state
:
present
notify
:
reload php-fpm php7_fpm
### NGINX
-
name
:
"
env[HOSTNAME]
for
PHP{{
php_version
}}"
...
...
@@ -200,4 +176,4 @@
path
:
"
{{
php_www_conf_file
}}"
state
:
present
when
:
rev_proxy == "nginx"
notify
:
reload php-fpm php7_fpm
\ No newline at end of file
notify
:
reload php-fpm php7_fpm