* Tue Mar 26 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-4.sme
- remove last references to php <7.2 [SME: 12550]
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
for VER in php php55 php56 php70 php71 php72 php73 php74 php80 php81 php82 php83; do
|
||||
for VER in php php72 php73 php74 php80 php81 php82 php83; do
|
||||
/usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/$VER/tmp
|
||||
/usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/$VER/opcache
|
||||
/usr/sbin/tmpwatch -umc --nodirs -q 7d /var/lib/php/$VER/wsdlcache
|
||||
|
@@ -11,10 +11,6 @@ $OUT = "/var/log/php/*/php*fpm.log {
|
||||
create 600 root root
|
||||
postrotate
|
||||
/sbin/e-smith/service php-fpm reload >/dev/null 2>&1 || true
|
||||
/sbin/e-smith/service php55-php-fpm reload >/dev/null 2>&1 || true
|
||||
/sbin/e-smith/service php56-php-fpm reload >/dev/null 2>&1 || true
|
||||
/sbin/e-smith/service php70-php-fpm reload >/dev/null 2>&1 || true
|
||||
/sbin/e-smith/service php71-php-fpm reload >/dev/null 2>&1 || true
|
||||
/sbin/e-smith/service php72-php-fpm reload >/dev/null 2>&1 || true
|
||||
/sbin/e-smith/service php73-php-fpm reload >/dev/null 2>&1 || true
|
||||
/sbin/e-smith/service php74-php-fpm reload >/dev/null 2>&1 || true
|
||||
@@ -34,10 +30,6 @@ $OUT = "/var/log/php/*/php*fpm.log {
|
||||
create 600 www www
|
||||
postrotate
|
||||
/sbin/e-smith/service php-fpm reload >/dev/null 2>&1 || true
|
||||
/sbin/e-smith/service php55-php-fpm reload >/dev/null 2>&1 || true
|
||||
/sbin/e-smith/service php56-php-fpm reload >/dev/null 2>&1 || true
|
||||
/sbin/e-smith/service php70-php-fpm reload >/dev/null 2>&1 || true
|
||||
/sbin/e-smith/service php71-php-fpm reload >/dev/null 2>&1 || true
|
||||
/sbin/e-smith/service php72-php-fpm reload >/dev/null 2>&1 || true
|
||||
/sbin/e-smith/service php73-php-fpm reload >/dev/null 2>&1 || true
|
||||
/sbin/e-smith/service php74-php-fpm reload >/dev/null 2>&1 || true
|
||||
|
@@ -28,12 +28,9 @@ highlight.bg = #FFFFFF
|
||||
highlight.default = #0000BB
|
||||
highlight.html = #000000
|
||||
zend.enable_gc = On
|
||||
zend.assertions = -1
|
||||
{
|
||||
return "" if $PHP_VERSION eq "";
|
||||
if ( $PHP_VERSION >= 70)
|
||||
{
|
||||
$OUT .="zend.assertions = -1\n";
|
||||
}
|
||||
if ( $PHP_VERSION >= 74)
|
||||
{
|
||||
$OUT .="zend.exception_ignore_args = On\n";
|
||||
|
@@ -1,8 +1,2 @@
|
||||
[Pcre]
|
||||
{
|
||||
return "" if $PHP_VERSION eq "";
|
||||
if ( $PHP_VERSION >= 70)
|
||||
{
|
||||
$OUT .="pcre.jit = Off\n";
|
||||
}
|
||||
}
|
||||
pcre.jit = Off
|
||||
|
@@ -22,26 +22,13 @@ session.cache_limiter = nocache
|
||||
session.cache_expire = 180
|
||||
session.use_trans_sid = On
|
||||
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
|
||||
session.use_strict_mode = Off
|
||||
session.sid_bits_per_character = 4
|
||||
session.sid_length = 32
|
||||
session.trans_sid_tags = "a=href,area=href,frame=src,form="
|
||||
{
|
||||
return "" if $PHP_VERSION eq "";
|
||||
if ( $PHP_VERSION >= 55)
|
||||
{
|
||||
$OUT .= "session.use_strict_mode = Off\n";
|
||||
$OUT .= "sys_temp_dir = /var/lib/php/php$PHP_VERSION/tmp\n";
|
||||
}
|
||||
if ( $PHP_VERSION < 71)
|
||||
{
|
||||
$OUT .= "session.hash_bits_per_character = 5
|
||||
session.hash_function = 0
|
||||
session.entropy_file =
|
||||
session.entropy_length = 0\n";
|
||||
}
|
||||
if ( $PHP_VERSION >= 71)
|
||||
{
|
||||
$OUT .= "session.sid_bits_per_character = 4
|
||||
session.sid_length = 32
|
||||
session.trans_sid_tags = \"a=href,area=href,frame=src,form=\"\n";
|
||||
}
|
||||
$OUT .= "sys_temp_dir = /var/lib/php/php$PHP_VERSION/tmp\n";
|
||||
if ( $PHP_VERSION >= 73)
|
||||
{
|
||||
$OUT .= "session.cookie_samesite = \"Strict\"\n";
|
||||
|
@@ -4,14 +4,6 @@
|
||||
& stop
|
||||
:programname, startswith, "php-fpm" /var/log/php/php/php-fpm.log
|
||||
& stop
|
||||
:programname, startswith, "php55-fpm" /var/log/php/php55/php55-fpm.log
|
||||
& stop
|
||||
:programname, startswith, "php56-fpm" /var/log/php/php56/php56-fpm.log
|
||||
& stop
|
||||
:programname, startswith, "php70-fpm" /var/log/php/php70/php70-fpm.log
|
||||
& stop
|
||||
:programname, startswith, "php71-fpm" /var/log/php/php71/php71-fpm.log
|
||||
& stop
|
||||
:programname, startswith, "php72-fpm" /var/log/php/php72/php72-fpm.log
|
||||
& stop
|
||||
:programname, startswith, "php73-fpm" /var/log/php/php73/php73-fpm.log
|
||||
@@ -25,4 +17,4 @@
|
||||
:programname, startswith, "php82-fpm" /var/log/php/php82/php82-fpm.log
|
||||
& stop
|
||||
:programname, startswith, "php83-fpm" /var/log/php/php83/php83-fpm.log
|
||||
& stop
|
||||
& stop
|
||||
|
Reference in New Issue
Block a user