Skip to content

5.2 and 5.3 versions seems broken #6

@palladius

Description

@palladius

$ docker run -p 8080:80 -it yappabe/apache-php:5.3 bash
Warning: DocumentRoot [/var/www/app/html] does not exist
apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3 for ServerName
Warning: DocumentRoot [/var/www/app/html] does not exist
apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3 for ServerName
PHP: syntax error, unexpected '~' in /etc/php5/apache2/conf.d/php.ini on line 8
[Sun Jan 21 12:48:06 2018] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.26 with Suhosin-Patch configured -- resuming normal operations
[Sun Jan 21 12:48:06 2018] [notice] caught SIGWINCH, shutting down gracefully
/run.sh: line 9: 12 Terminated /usr/sbin/apache2ctl -D FOREGROUND

if I copy something into that directory I get:

[Sun Jan 21 12:44:53 2018] [warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of previous Apache run?

Is this supposed to work? Can you provide a sample Dockerfile which uses the 5.3 and 5.2 and works out of the box (e.g. a sample index.php to COPY into the dir)?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions