---
title: "Workaround for default PHP settings"
date: "2025-02-06T00:04:46+00:00"
summary:
image:
type: "article"
url: "/acquia-cloud-platform/help/92376-workaround-default-php-settings"
id: "c5b9029e-17be-4f3a-b57a-3fd5b9452e52"
---

Acquia is aware of an issue impacting CLI `upload_max_filesize` and `post_max_size` for customers running PHP 7.4 in an Acquia environment. Impacted customers may be limited to a max upload size of 2M or 8M when processing files via cli (e.g. Drush).

A workaround available to customers while Acquia prepares a platform level fix is to configure an override in `~/.drush/drush.ini` (so located in the site user's home directory) to ensure the value matches the php-fpm php.ini e.g.

    post_max_size=256M
    upload_max_filesize=256M

These values should be picked up by Drush when it is run via a cron job or in a user shell.