Change the PHP version and upload limits safely Print

  • 0

Use cPanel’s supported PHP tools instead of copying old php.ini examples from another server. Settings and available versions depend on the hosting plan.

Steps

  1. Take a backup and check the application’s PHP requirements and extension list.
  2. Open cPanel → MultiPHP Manager, select only the intended domain, choose a supported PHP version and apply it.
  3. Open MultiPHP INI Editor, select the domain and change upload_max_filesize. Set post_max_size at least as high and memory_limit high enough for the application without exhausting the account.
  4. Save, then confirm the active version with the application’s system-information page. Do not leave a public phpinfo file on the server.
  5. Test login, uploads, forms, scheduled tasks and checkout. If errors begin, restore the previous version and inspect cPanel → Errors.

Verify the result

The application should report the selected PHP version and accept an upload below the configured limit without HTTP 500 or memory errors.

Important: A web-server, proxy or application limit can still be lower than PHP. Very large imports are safer through a dedicated import tool or command line.

Was this answer helpful?

« Back