• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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