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

PHP error log #390

Closed
homerjam opened this issue Mar 12, 2019 · 1 comment
Closed

PHP error log #390

homerjam opened this issue Mar 12, 2019 · 1 comment
Labels
question Usability question, not directly related to an error with the image

Comments

@homerjam
Copy link

It'd be useful to have the PHP error log available via docker logs, this suggestion may be effective.

@wglambert wglambert added the question Usability question, not directly related to an error with the image label Mar 12, 2019
@wglambert
Copy link

The images don't load a php configuration file by default, they do come with the two default "sample" and "production" .ini's, but by default one of them isn't chosen. https://github.com/docker-library/docs/tree/master/php#configuration

$ docker run --rm wordpress php -i | grep "Loaded Configuration File"
Loaded Configuration File => (none)

$ docker run --rm wordpress:fpm php -i | grep "Loaded Configuration File"
Loaded Configuration File => (none)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Usability question, not directly related to an error with the image
Projects
None yet
Development

No branches or pull requests

2 participants