Skip to content

Change Max filesize for upload #137

@pearcemichal

Description

@pearcemichal

I am trying to change the max upload filesize for adding music, but can't figure out how to do it.

I updated the max_upload_size in ampache.cfg.php

I created a local folder with a custom-php.ini
and then added this to the docker-compose file

volumes:
  - /volume1/docker/app/ampache/php/custom-php.ini:/etc/php/8.1/apache2/conf.d/custom-php.ini

based on this comment

@xeruf mounting a php.ini file with the following content as /etc/php/8.1/apache2/conf.d/custom-php.ini works for me.


[php]

max_upload_size = 100M

Originally posted by @Neshura87 in #81

However, after cleaning and rebuilding the project, the max upload size has not changed

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions