** Description changed:

  Problem
  
  Error thrown, when trying to install "apache2 libapache2-mod-php7.0 php-
  apcu" all together.
  
  Ubuntu version: Ubuntu 14.04.5 LTS
  php-apcu version: 5.1.17+4.0.11-1+ubuntu14.04.1+deb.sury.org+1
  
  Steps to Reproduce
  
- - Install docker 
+ - Install docker
  - Create Dockerfile
  
  FROM ubuntu:trusty
  ARG DEBIAN_FRONTEND=noninteractive
  
  RUN apt-get -qq update
  RUN apt-get install -y software-properties-common language-pack-en-base
  RUN LC_ALL=en_US.UTF-8 apt-add-repository -y ppa:ondrej/php
  RUN apt-get -qq update
  RUN apt-get -y install \
-      apache2 \
-      libapache2-mod-php7.0 \
-      php7.0 \
-      php-apcu
+      apache2 \
+      libapache2-mod-php7.0 \
+      php7.0 \
+      php-apcu
  
  - Run "docker build ."
  
  Expected Result
  No error
  
  Actual Result
  Error thrown
  
  No module matches
  apache2_switch_mpm: MPM prefork not found
  libapache2-mod-php7.0: Could not switch to prefork MPM, not enabling PHP 7.0
- 
- 
- Workaround
- Moving "php-apcu" into separate "RUN apt-get -y install php-apcu" prevents 
the error. Though, I am not sure that it is a real solution.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1818633

Title:
  apache2_switch_mpm: MPM prefork not found

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-apcu/+bug/1818633/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to