Commit 4224cdb1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add separate php7 packages list common for all tasks, add php7-opcache

parent 525eb7e9
......@@ -216,6 +216,9 @@ EOF
#</IfModule>\n\
</Location>\n\
\n\
# TODO: check SetEnvIf X-Forwarded-Proto https HTTPS=on\n\
# a02 hack
#SetEnv HTTPS on\n\
\1|" /etc/httpd2/conf/sites-enabled/$ACONF.conf
fi
......@@ -295,13 +298,16 @@ if [ -n "$AUSERID" ] ; then
tune_hosts_azbyka
fi
PHP7BASE="php7-mbstring php7-pdo php7-curl php7-fileinfo php7-dom php7-exif \
php7-pdo_mysql php7-mysqli php7-pcntl php7-openssl php7-mcrypt \
php7-gd2 php7-xmlreader php7-memcached php7-xsl php7-zip php7-redis php7-opcache"
for i in $PKGPROFILE ; do
case $i in
apache2-php7)
epmi --auto --skip-installed apache2-mod_mpm_itk apache2-mod_php7
# opcache intl yaml xdebug redis tidy
epmi --auto --skip-installed php7-mbstring php7-pdo php7-curl php7-fileinfo php7-dom php7-exif \
php7-pdo_mysql php7-mysqli php7-pcntl php7-openssl php7-mcrypt php7-gd2 php7-xmlreader php7-memcached php7-xsl php7-zip php7-redis
# intl yaml xdebug tidy
epmi --auto --skip-installed $PHP7BASE
tune_php /etc/php/7.?/apache2-mod_php/php.ini
tune_apache2
tune_monit_apache2
......@@ -310,9 +316,8 @@ for i in $PKGPROFILE ; do
# FIXME:
tune_hosts_host03
epmi --auto --skip-installed apache2-mod_php7
# opcache intl yaml xdebug redis tidy
epmi --auto --skip-installed php7-mbstring php7-pdo php7-curl php7-fileinfo php7-dom php7-exif \
php7-pdo_mysql php7-mysqli php7-pcntl php7-openssl php7-mcrypt php7-gd2 php7-xmlreader php7-memcached php7-xsl php7-zip php7-redis
# intl yaml xdebug tidy
epmi --auto --skip-installed $PHP7BASE
tune_php /etc/php/7.1/apache2-mod_php/php.ini
tune_apache2_mediawiki
tune_monit_apache2
......@@ -325,9 +330,8 @@ for i in $PKGPROFILE ; do
;;
php7-fpm)
epmi --auto --skip-installed php7-fpm-fcgi
# opcache intl yaml xdebug redis tidy
epmi --auto --skip-installed php7-mbstring php7-pdo php7-curl php7-fileinfo php7-dom php7-exif \
php7-pdo_mysql php7-mysqli php7-pcntl php7-openssl php7-mcrypt php7-gd2 php7-xmlreader php7-memcached php7-xsl php7-zip php7-redis
# missed: intl yaml xdebug tidy
epmi --auto --skip-installed $PHP7BASE
tune_php7_fpm
;;
esac
......
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