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
Hello, I'm struggling with your image to modify the php.ini to upload bigger file (limited to 8MO by default)
Is is possible to modify that in the docker file so it can be set from the beginning ? as explained here https://docs.moodle.org/36/en/File_upload_size#Upload_file_size_restrictions
thanks a lot
The text was updated successfully, but these errors were encountered:
Hello, I wanted to know how I can increase the upload space since the limit is only 2mb ?
Sorry, something went wrong.
I think you should add a new volume in docker-compose.yml mapping a php.ini path in the host, and the one in the container.
VOLUMES: - ./config.php:/var/www/html/config.php - ./apache2.conf:/etc/apache2/apache2.conf - ./php.ini:/etc/php/7.4/cli/php.ini
Check the path for php.ini in the container: docker exec -ti <container_name>: php --ini | grep "Loaded Configuration File"
docker exec -ti <container_name>: php --ini | grep "Loaded Configuration File"
If you like, you could copy the file from te docker to the host machine doing this: docker cp <container_name>:/etc/php/7.4/cli/php.ini .
docker cp <container_name>:/etc/php/7.4/cli/php.ini .
jmhardison
No branches or pull requests
Hello,
I'm struggling with your image to modify the php.ini to upload bigger file (limited to 8MO by default)
Is is possible to modify that in the docker file so it can be set from the beginning ?
as explained here
https://docs.moodle.org/36/en/File_upload_size#Upload_file_size_restrictions
thanks a lot
The text was updated successfully, but these errors were encountered: