This guide shows you how to adjust PHP configuration parameters for your domain in Plesk Obsidian. You can modify settings like memory limits, execution times, and file upload sizes through the Plesk control panel interface.

How to do it

  1. Step 1: Log in to Plesk

    Access your Plesk control panel with your credentials.

    login to plesk 1

  2. Step 2: Navigate to PHP Settings

    Go to Websites and Domains and select the domain you want to configure.

    Click on PHP Settings.

    php settings 2

  3. Step 3: Adjust memory limit

    Select the desired memory_limit value from the dropdown menu. If the value you need isn't available in the dropdown, you can manually enter it in the provided field.

    cPanel File Manager

  4. Step 4: Set max input time

    Choose the max_input_time value from the dropdown menu.

    max input time

  5. Step 5: Set max execution time

    Choose the max_execution_time value from the dropdown menu.

    max execution time

  6. Step 6: Configure post max size

    Select the post_max_size value from the dropdown menu.

    post max size

  7. Step 7: Set upload max filesize

    Choose the upload_max_filesize value from the dropdown menu.

    upload max filesize 1

  8. Step 8: Enable OPcache (optional)

    If you want to enable PHP OPcache for better performance, select the opcache.enable option from the dropdown menu.

    opencache enable

  9. Step 9: Apply the changes

    Once you've configured all the parameters you need, click the Apply button at the bottom of the page.

    apply 1

  10. Step 10: Confirm the update

    After clicking Apply, you'll see a notification confirming that the settings are scheduled for an update.

    settings will be updated