Hi guys, can you tell me how much System requirments I need to run WordPress, Joomla and do occasional run php and python webpages on…
Let me give you a bit of context…
I want to learn how to fully customize wp and joomla but also learn php and django from the ground up… I am wondering what would be a reasonable size droplet to use for now… I expect at most no more than 5 people connecting at a time on the site… mostly it will be me just checking edits and so forth… tweaking and experimenting…
Reason I ask this is because after 7 days of headaches with zero experience of ssh, linux, commands like systemctl start httpd, ssh keys and so forth I finally thought I was going somewhere had mariandb, phpmyadmin, httpd, sftp, wordpress running but when I tried installing pureftpd I think it also installed postgresql and mariandb crushed and log said something about not being enough resources. looking at monitoring tools on DigitalOcean I saw the charts spike from 60% to 100% right at the same time too…
being the rookie I am I deleted the droplet instead of attempting to remove postgresql incase it was the reason marian would not start. I forgot what I was installing but I remember it mentioning how postgresql eats up more resources than mysql… I think it was virtualmin…
Its been a lot of try and error but I have learnt quite alot thanks to the community guides and tutorials and I am grateful for them and thanks in advance for any recommendations.
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
It would be nice to know what size droplet you currently are working with. I’m going to guess a 512 MB droplet based on the challenges you’re encountering. My experience with a LAMP stack is that 1 GB helps you get by with the common background services (httpd and MariaDB/MySQL) involved.
Wordpress’s RAM requirements is deeply dependent on the plug-ins you will have running on your site. Bare metal you can get away with 512 MB but with more plug-ins 1 GB is preferred.
I think with Joomla you can use it bare metal with 512 MB of RAM. More plug-ins and extensions will likely require more RAM.
One thing you didn’t cover was expected volume these two apps will create on your server. Higher expected volumes will require more compute resources (CPU and RAM).
You guys rock… ill go with the LEMP stack.
Want to learn more? Join the DigitalOcean Community!
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Sign up now
@hansen would be right on the mark – my full recommendation goes to NGINX over Apache in more than 99.99% of the cases I work with. This one would be no different.
NGINX does indeed use less RAM than Apache in both high and low-traffic scenarios as it doesn’t do dynamic configuration processing. You have to reload or restart NGINX anytime changes are made.
NGINX also “outsources” requests to PHP-FPM using FastCGI (a proxy of sorts), instead of building in a module like Apache does (i.e.
At the end of the day, NGINX simply takes a request and pushes it somewhere else, which is why it can handle more traffic than Apache in most all scenarios, and do it with fewer resources. Apache handles things a little differently, builds modules in to the configuration, etc – that all equates to a lot more resources being used for, in my experience, sub-par performance.
For example, with Apache there’s a file called
.htaccess, which is what WordPress uses to handle the permalink rewrites (i.e. instead of index.php?p=32 you see /category/post-title).
You can make any number of changes to
.htaccesswithout restarting Apache as that file will be read and processed on-the-fly (i.e. on each request).
With NGINX, if you make changes to the configuration, the only way they take effect is when you do a reload or restart NGINX altogether. NGINX also doesn’t use
.htaccess, and the rewrites are a little bit different, but I find them far more simplistic.
The typical WordPress
.htaccesslooks like this:
With NGINX, that gets shrunk down to:
locationblock basically tries a URL without a slash, with a slash, and if neither of those are able to handle the request, it pushes the request to
$argswhich would be, in the case of WordPress, the post ID, category ID, etc. You don’t have to worry about that part though, just having the
locationblock above is all you need to worry about having in place.