Skip to content
Host4u Limited

PHP settings in Plesk

Support Portal  »  Knowledgebase  »  Viewing Article
There was a problem loading the comments.
  Print

PHP settings are set for each website, so a change on one website does not affect your others.

Open them

Open your domain's Dashboard and click PHP. The page shows the PHP version in use and how PHP runs (FastCGI application).

Change the PHP version

If your plan lets you choose, use the PHP version setting at the top of the page, choose the version, and click Apply. If it is not offered, ask support. If an old website breaks after you change it, go back to the earlier version. See Choosing a PHP version and changing PHP settings for guidance on choosing.

Common settings

  • memory_limit: the most memory one script may use.
  • max_execution_time and max_input_time: how long a script may run or take to read input.
  • post_max_size and upload_max_filesize: the largest form post and file upload. Keep post_max_size larger than upload_max_filesize.
  • display_errors: shows errors on the page. Leave it off on a live website.
  • log_errors: records errors in a log. See Logs in Plesk.

Settings marked Default use the server's value. Change one, click Apply to save and stay, or OK to save and leave. Reset To Default puts a setting back. If a setting does not change, the provider may not allow it for your plan, or a php.ini or .user.ini file in your website may override it.

Extra directives

Use Additional configuration directives to add your own lines in php.ini format.


Share via
Did you find this article useful?  

Related Articles


Self-Hosted Help Desk Software by SupportPal