Skip to main content

Fine-Tuning PHP Performance

Certain web applications, especially complex ones like e-commerce platforms or media-heavy sites, may require higher resource limits than the default PHP settings provide. The FREAKHOSTING Web Control Panel includes a built-in php.ini editor that allows you to modify these core parameters without needing access to the server’s filesystem.

Difficulty

Intermediate

Time

5 Minutes

Accessing the php.ini Editor

1

Navigate to Developer Tools

Log in to the Web Panel and go to Advanced -> Developer tools.
2

Open the Editor

Locate and click on the php.ini editor button.

Critical Settings to Optimize

You can search for the following variables in the editor to increase your site’s performance:
VariableDescriptionRecommended Value
memory_limitThe maximum amount of RAM a script can use.256M or 512M
upload_max_filesizeThe maximum size of a single uploaded file.64M or higher
post_max_sizeThe maximum size of all data sent in a form.Should be equal to or higher than upload_max_filesize.
max_execution_timeHow long a script can run before being stopped.120 or 300 seconds
display_errorsShows/hides error messages on your site.Off for production, On for debugging.

How to Apply Changes

  1. Find the line containing the variable you wish to change.
  2. Modify the value (e.g., change upload_max_filesize = 2M to upload_max_filesize = 128M).
  3. Click the Save button.
  4. The webserver will refresh, and the new settings will take effect immediately.

Verification

To verify that your changes have been applied:
  1. Create a blank file in your File Manager called info.php.
  2. Add the following line to the file: <?php phpinfo(); ?>
  3. Visit yourdomain.com/info.php in your browser.
  4. Search for the variables you changed to confirm the new values are active.

Syntax Matters

Ensure you do not delete the equal signs or add unnecessary characters. An incorrect line in your php.ini can cause your website to display a “500 Internal Server Error.” If this happens, simply undo your last change or contact support.

Need Extra Help?

If you encounter any issues, our support team is ready to assist:

Save on Your Hosting

Ready to get a new server? Use code KB20 at checkout for 20% off your first month!

Last Updated: January 2026 | FREAKHOSTING: Performance First Web Hosting.