By Nikasa1889
I’m running an nginx-php stack on AppPlatform (for WordPress). The runtime log always says “Assuming 512MB of RAM” even though I’m using Pro instance with 1GB RAM. Is there anyway to force that number?
[2021-11-20 09:05:40] Using Nginx configuration file 'nginx/nginx_prod.conf'
[2021-11-20 09:05:40] Assuming 512MB of RAM
[2021-11-20 09:05:40] $WEB_CONCURRENCY env var is set, skipping automatic calculation
[2021-11-20 09:05:40] Starting php-fpm with 4 workers...
[2021-11-20 09:05:41] Starting nginx...
[2021-11-20 09:05:41] Application ready for connections on port 8080.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey there!
The amount of RAM provided to PHP by default is dependent on the RAM specified in the plan and will not use the full amount available by default. To change that you can set a .user.ini file in the same location as the php files you are serving. In that file you can specify the php_memory_limit to a value that you need. We’d recommend not using the full amount provided in the plan size to be sure your other processes have sufficient resources.
Hope it helps! Nate
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.