The MultiPHP INI Editor lets you customize PHP configuration settings — such as memory limit, upload size, and execution time — per domain, without needing server-level access.
Change PHP memory limit
- Log in at https://tpc-hosting.com/login and open cPanel.
- Under Software, click MultiPHP INI Editor.
- Select the domain or directory you want to configure from the dropdown.
- Find memory_limit in the list and enter the new value (e.g., 256M, 512M).
- Click Apply.
Changes take effect immediately for new PHP requests. You do not need to restart anything.
Other commonly changed settings
- upload_max_filesize — maximum file size that can be uploaded via a PHP form (e.g., media uploads in WordPress). Common value: 64M or 128M.
- post_max_size — maximum size of POST data. Must be equal to or larger than upload_max_filesize. Set to the same value or one step higher.
- max_execution_time — how many seconds a PHP script may run before being terminated. Default is 30. Increase to 120 or 300 for import scripts or long-running processes.
- max_input_vars — maximum number of input variables per request. WordPress with many customizer fields sometimes needs this raised to 3000 or 5000.
Switch PHP version per domain
To change the PHP version (not just settings):
- Under Software, click MultiPHP Manager.
- Tick the checkbox next to the domain.
- Select the PHP version from the dropdown.
- Click Apply.
Supported PHP versions are listed in the dropdown. Contact TPC Hosting support if you need a version that is not listed.
Check what is currently active
To confirm which PHP version and settings are active on your domain, create a file named phpinfo.php in your public_html with this content:
<?php phpinfo(); ?>
Open it in a browser (yourdomain.com/phpinfo.php). Delete the file immediately after checking — it exposes sensitive server configuration details.