Commit a1bfa149 authored by Vitaly Lipatov's avatar Vitaly Lipatov

createbytask.int.sh: add support for all php

parent 8bc6c846
...@@ -127,6 +127,7 @@ EOF ...@@ -127,6 +127,7 @@ EOF
tune_logrotate() tune_logrotate()
{ {
# TODO: ErrorLog is set in apache conf, so use *.log here # TODO: ErrorLog is set in apache conf, so use *.log here
cat <<EOF >/etc/logrotate.d/apache-home-local.tmpCB cat <<EOF >/etc/logrotate.d/apache-home-local.tmpCB
/home/$AUSER/log/*.log { /home/$AUSER/log/*.log {
...@@ -422,13 +423,27 @@ for i in $PKGPROFILE ; do ...@@ -422,13 +423,27 @@ for i in $PKGPROFILE ; do
tune_monit_apache2 tune_monit_apache2
install_php_modules php7 install_php_modules php7
;; ;;
apache2-php8) apache2-php8.0)
tune_php /etc/php/8.?/apache2-mod_php/php.ini
tune_apache2
tune_local_memcached_redis
tune_monit_apache2
install_php_modules php8.0
;;
apache2-php8.1)
tune_php /etc/php/8.?/apache2-mod_php/php.ini tune_php /etc/php/8.?/apache2-mod_php/php.ini
tune_apache2 tune_apache2
tune_local_memcached_redis tune_local_memcached_redis
tune_monit_apache2 tune_monit_apache2
install_php_modules php8.1 install_php_modules php8.1
;; ;;
apache2-php8.2)
tune_php /etc/php/8.?/apache2-mod_php/php.ini
tune_apache2
tune_local_memcached_redis
tune_monit_apache2
install_php_modules php8.2
;;
apache2-php7-mediawiki) apache2-php7-mediawiki)
# FIXME: # FIXME:
tune_hosts_host03 tune_hosts_host03
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment