Knowledge Base
Categories: Windows Web Hosting (Plesk)
Manage PHP Settings on Windows-Based Hosting
This article explains how to manage PHP settings in Windows-based hosting using Plesk. It covers how to update the PHP version assigned to your website and how to modify PHP configuration values through the PHP settings interface.
Update PHP version
You can change the PHP version used by your website through the Plesk control panel. This is typically required for compatibility with specific applications or to use newer PHP features.
- Log in to your Plesk.
- Go to Websites & Domains.
- Click the domain that you want to manage to see more options.
- Click on the Dashboard tab.
- Go to the Dev Tools section and click on PHP.
- In the PHP support dropdown, select your preferred PHP version.
- Scroll down to the bottom of the page and click OK to apply for the changes.
Update PHP.ini settings
You can modify PHP configuration values such as memory limits, file upload size, and execution time through the PHP settings page in Plesk.
- In your Plesk, go to Websites & Domains.
- Click the domain that you want to manage to see more options.
- Click on the Dashboard tab.
- Go to the Dev Tools section and click on PHP.
- In the PHP Settings screen, go to the Common settings section.
- Update the required PHP directives, such as:
memory_limitupload_max_filesizepost_max_sizemax_execution_time
- Scroll down to the bottom of the page and click OK to apply for the changes.
Did you find this article helpful?