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
- Take a backup and check the application’s PHP requirements and extension list.
- Open cPanel → MultiPHP Manager, select only the intended domain, choose a supported PHP version and apply it.
- 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.
- Save, then confirm the active version with the application’s system-information page. Do not leave a public phpinfo file on the server.
- 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.