php7.1 and php7.1-apache packages cause "Symbol not found error.
I have the following dockerfiles https://github.com/nowait-tools/docker-images/blob/master/alpine/php/7.1/cli/Dockerfile and https://github.com/nowait-tools/docker-images/blob/master/alpine/php/7.1/apache/Dockerfile . The apache image is a combination of the php7.1 and php7.1-apache packages. Upon starting the container I get the following error.
httpd: Syntax error on line 478 of /etc/apache2/httpd.conf: Syntax error on line 1 of /etc/apache2/conf.d/php7.1-module.conf: Can’t locate API module structure `php7.1_module’ in file /var/www/modules/mod_php7.1.so: Symbol not found: php7.1_module
The image is pushed to a docker registry (Docker hub) if that is helpful for you. It can be pulled with the following command `docker pull nowait/php:7.1-apache-alpine`. If there is any more information you would like me to provide let me know. This was all that I could think of that would be relevant at the moment. I set the alpine version as 3.4.4 but we are extending from the official alpine:3.4 image (not sure what the minor version is).
(from redmine: issue id 6995, created on 2017-03-11, closed on 2017-04-07)