How to Modify PHP Memory Limit in Plesk Using Cloud Linux Selector

Increasing or decreasing the PHP memory limit is essential for optimizing web application performance. This guide outlines the steps to modify the PHP memory limit through the Cloud Linux PHP Selector in Plesk.

Accessing Your Plesk Account

Begin by logging into your Plesk account. Once inside, you will find various options on the dashboard.

On the right-hand sidebar, locate and click on the PHP Selector option. This section allows you to manage various PHP settings, including memory limits.

Adjusting PHP Memory Limit

After accessing the PHP Selector, proceed to click on the Options menu. If you encounter an error related to the native PHP version, change it to a non-native version. This step is crucial to ensure that your adjustments can be applied without issues.

Changing the Memory Limit

The current memory limit is often set to 128 megabytes by default. To modify this setting, select your desired memory limit, ensuring it aligns with your application’s requirements. After selecting the new limit, confirm the changes. A success message will indicate that the PHP memory limit has been successfully changed.

Conclusion

Adjusting the PHP memory limit via the Cloud Linux PHP Selector in Plesk is a straightforward process. By following these steps, you can optimize your website’s performance to better meet your needs. Regularly monitoring and adjusting the memory limit can lead to improved stability and functionality of your web applications.