• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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