Follow this guide step by step with ChatGPT, Claude or another AI

Updated: 30 November 2026 · Applies to: Sentora 2.0.2 on Ubuntu 20.04, Sentora development installer on Ubuntu 24.04 (PHP 8.3 with Apache mod_php, tested)

On a Sentora server running Ubuntu, PHP runs inside Apache (mod_php), so the upload limit is set in /etc/php/VERSION/apache2/php.ini. Raise upload_max_filesize and post_max_size in that file and restart Apache. On Sentora 2.0.2 with Ubuntu 20.04 the file is /etc/php/7.4/apache2/php.ini; with the newer installer on Ubuntu 24.04 it is /etc/php/8.3/apache2/php.ini.

Is Sentora still maintained?

Only barely, and not for production on a current operating system. When we checked the project's GitHub repositories, the last stable release was Sentora 2.0.2 (May 2024), whose installer accepts only CentOS 8 and Ubuntu 18.04 and 20.04, all past their end of life. The installer repository now lists Ubuntu 24.04 and Debian 12, but its README marks the master branch installer as "ONLY recommended for developers and project staff" and says not to use it on a production server. The last code change in the main repository was in February 2025. Our article Sentora Control Panel in 2026: Project Status and Supported Alternatives explains what this means and which panels to use instead.

The steps below are kept for anyone still running an existing Sentora server while they plan a move.

Steps (as root)

  1. Find your PHP version:
    ls /etc/php/
    Output on Ubuntu 24.04:
    8.3
    Do not rely on php --ini for this: it shows the command-line file (/etc/php/8.3/cli/php.ini), not the one Apache uses.
  2. Back up the Apache PHP configuration:
    cp -p /etc/php/8.3/apache2/php.ini /etc/php/8.3/apache2/php.ini.bak
  3. Check the current values:
    grep -nE "^(upload_max_filesize|post_max_size|memory_limit)" /etc/php/8.3/apache2/php.ini
    Output on a fresh Ubuntu 24.04 package (Sentora's installer changes memory_limit to 256M):
    445:memory_limit = 128M
    713:post_max_size = 8M
    865:upload_max_filesize = 2M
  4. Open the file, for example with nano /etc/php/8.3/apache2/php.ini, and set the new limits. Keep post_max_size a little larger than upload_max_filesize, because a form post carries the file plus other fields:
    upload_max_filesize = 64M
    post_max_size = 70M
  5. Check the Apache configuration:
    apache2ctl configtest
    Output:
    Syntax OK
  6. Restart Apache:
    systemctl restart apache2
  7. Confirm the values PHP reads from that file:
    php -c /etc/php/8.3/apache2/php.ini -r 'echo ini_get("upload_max_filesize"), " ", ini_get("post_max_size"), PHP_EOL;'
    Output:
    64M 70M

Replace 8.3 with 7.4 (or your own version) on a Sentora 2.0.2 server. The same limits also decide how large a file you can import in phpMyAdmin.

If uploads still fail

  • Large uploads also need time: raise max_execution_time and max_input_time in the same file if big files stop part way.
  • Sentora's installer points upload_tmp_dir to /var/sentora/temp/. If that disk is full or the folder is not writable by Apache, uploads fail whatever the limit is. Check with df -h /var/sentora.
  • If you edited the cli file by mistake, make the change in the apache2 file as well.

On a current control panel

If you have moved off Sentora, the same two settings apply everywhere, only the place to change them differs: in cPanel use the MultiPHP INI Editor or a php.ini file (see Raise the PHP Upload Limit with a php.ini File), and on a plain server see How to increase the size of uploaded files in PHP. The older zPanel version of this task is in How to Increase Max Upload Size?

Need help moving sites off an old Sentora server? Our server management team handles migrations, and a KVM VPS with a supported operating system is a good target.

Official documentation: Sentora installers on GitHub and PHP core php.ini directives.

Was this answer helpful?

Still stuck? Open a ticket