Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.2 and 5.3 versions seems broken #6

Open
palladius opened this issue Jan 21, 2018 · 0 comments
Open

5.2 and 5.3 versions seems broken #6

palladius opened this issue Jan 21, 2018 · 0 comments

Comments

@palladius
Copy link

$ 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant