We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 does not read environment variables
using docker-compose.yml file:
version: '3.7' services: nginx-php-fpm-app: image: tiredofit/nginx-php-fpm:8.2-alpine volumes: - ./html/:/www/html - ./logs/:/www/logs environment: - TIMEZONE = Asia/Bahrain - PHP_MEMORY_LIMIT = 256M ports: - 80:80 restart: always
when viewing PHP info both configuration are still showing the default values:
Best Regards.
The text was updated successfully, but these errors were encountered:
Hello i'm getting same issue anything new?
Sorry, something went wrong.
I haven't included the ability to pass environment variables from system into PHP engine- you can see what is being passed here:
docker-nginx-php-fpm/install/assets/php-fpm/fpm/php-fpm.conf
Line 36 in 6568eab
It would need to be a feature added if it was to be possible. I avoid it personally.
No branches or pull requests
PHP does not read environment variables
using docker-compose.yml file:
when viewing PHP info both configuration are still showing the default values:
Best Regards.
The text was updated successfully, but these errors were encountered: