Search Knowledge Base by Keyword

How to Change PHP Settings in Plesk

Plesk supports multiple PHP versions. Different PHP versions are sometimes not fully compatible with the website written on another PHP version. For example, a website written in PHP 5.4 might not function properly if your domain is configured in PHP 5.6. If you are not sure which PHP version to choose, you can always configure it to the default setting, the latest or another version available on the system.

First, you need to login to the Plesk control panel.

Once you are on the Plesk main screen, locate and click on the “PHP Settings”.

PHP settings location in Plesk

You will then be redirected to the PHP settings page where you will see the PHP version you are currently on.

Click on the drop down menu and choose the version you need to configure for your website. Within the same page you will find the different settings for your PHP version that you can adjust. For example, the “memory_limit” which is the maximum amount of memory in bytes that can be allocated for a PHP script and the “upload_max_size” which can be adjusted to for the maximum files size that can be uploaded.

PHP performance settings in Plesk
PHP settings in Plesk

Once you are done with the configuration, you may proceed to click on “Apply” to save the PHP settings and click “OK” for you to be redirected back on the domain’s main screen.

Proceed options in Plesk
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Tags: