• 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

Resolved Change PHP memory limit for the command line (CLI) - how?

Ralph

New Pleskian
Server operating system version
Ubuntu 20.04.6 LTS
Plesk version and microupdate number
18.0.53
Hi,

I've added optional PHP 8.1 and 8.2 for a client in a chrooted bash shell.

I would like to change the php memory limit for the command line (CLI) for this PHP versions.

Can anybody gives me an advise how to do this?

Kindly regards,
Ralph
 
This needs to be done in the .ini files of these version, such as /opt/plesk/php/<version>/etc/php.ini. The corresponding line is "memor_limit = ". If commented, remove the comment mark and also fill the value with what you deem appropriate, e.g. 512M, 1G or whatever is right for your installation.
 
Peter, thank you very much. I changed it and this works well after I installed the optional PHP version for the customer again.
 
Back
Top