Skip to content

Instantly share code, notes, and snippets.

@brody192
Last active May 9, 2024 17:42
Show Gist options
  • Save brody192/ed12b50fd39e373a28d75f25b100a87d to your computer and use it in GitHub Desktop.
Save brody192/ed12b50fd39e373a28d75f25b100a87d to your computer and use it in GitHub Desktop.
[variables]
UPLOAD_MAX_FILESIZE = '100M'
POST_MAX_SIZE = '100M'
[phases.setup]
cmds = ['UPLOAD_INI_PATH=$(find /nix/store/*-php-*/lib -name php.ini -print0 | head -z -n 1 | rev | cut -c 9- | rev)/upload.ini; echo "upload_max_filesize=${UPLOAD_MAX_FILESIZE};" >> $UPLOAD_INI_PATH; echo "post_max_size=${POST_MAX_SIZE};" >> $UPLOAD_INI_PATH']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment