Customizing your PHP settings with DreamPress

 

Overview

This article explains how to create a .user.ini file to customize your PHP settings on a DreamPress website. See these articles to learn more about common PHP customizations.

Adjusting the WordPress memory limit

If you're trying to increase your site's PHP memory limit in a WordPress site, you will need to take an extra step after you have edited your .user.ini file. See this article to learn more about how to edit your wp-config.php file.

How to create a .user.ini file

To customize your PHP settings, you create a file named .user.ini in your website's directory. For example:

/home/username/example.com

You can create a .user.ini file by logging in to your server via FTP or SSH. The following sections describe how to do this for both methods.

Make sure the .user.ini filename starts with a period.

Creating a .user.ini file via FTP (recommended for beginners)

  1. Log in to your DreamPress website. You can use the file manager in the panel or a third-party client to log in.
  2. Once logged in, navigate to your website directory where your files are located.
  3. In this directory, create a new .user.ini file.

Your new settings are active approximately five minutes after saving the file.

Creating a .user.ini file via SSH (for advanced users)

  1. Locate your login credentials.
  2. Log in to your server via SSH.
    [server]$ cd ~/example.com
  3. Navigate to your website's directory.
  4. In your website's directory, create a new .user.ini file.

Your new settings are active approximately five minutes after saving the file.

See also

Did this article answer your questions?

Still not finding what you're looking for?