• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Question Changing memory_limit for php (5.5.9) command line

Create file, ppp, for example, with following content:

# cat ppp
memory_limit = 64M


Then run following command:

# /usr/local/psa/bin/subscription_settings --update-php-settings domain.com -settings ppp
 
The default memory limit is 90M and this is usually more than sufficient for most needs. If you need to raise this limit, you must create a phprc file.

If you wish to increase this limit, add the following line:

memory_limit = 128M

you should check to confirm the values have updated. You can do this by creating a phpinfo.php file.
 
Back
Top