Skip to content

Customizing PHP Settings for WordPress Using the Custom PHP Settings Plugin

WordPress relies on PHP for its core functionality. Sometimes, you may need to adjust PHP settings (like memory limits, upload sizes, or execution times) to improve performance or enable certain plugins. On ruachost.com, you can do this easily using the Custom PHP Settings plugin without editing files manually.

  • Increase memory limit for large plugins or themes.
  • Adjust max upload size for media files.
  • Extend max execution time for imports or backups.
  • Fine‑tune PHP configuration for better performance and compatibility.
  1. Log in to WordPress with an administrator account.
  2. In the dashboard, go to Plugins → Add New.
  3. Search for Custom PHP Settings.
  4. Click Install Now, then Activate.
  5. In the dashboard, go to Tools → Custom PHP Settings.

The plugin provides four tabs:

  • Editor Tab → Add or modify PHP configuration settings. Example:

    memory_limit = 256M
    upload_max_filesize = 64M
    max_execution_time = 300
  • Settings Tab → View current PHP settings for your WordPress installation.

  • Status Tab → Track changes made to configuration files.

  • Info Tab → Displays server and PHP environment details.

✅ Changes are applied directly to .htaccess or .user.ini files, depending on your hosting setup.

  • The configuration file must be writable for changes to take effect.
  • Always back up your site before modifying PHP settings.
  • Incorrect values may cause errors or downtime.
  • Use conservative values unless you are sure your server can handle higher limits.