Installing Moodle along with WordPress on the same VPS

Re: Installing Moodle along with WordPress on the same VPS

by Matt T -
Number of replies: 1
There's nothing at all preventing you from doing this, in fact it's probably quite common. Performance and management would be the only potential concern, our prod stacks have each webapp on their own appserver/db VMs (e.g. a reboot of the server for linux kernel upgrades would knock everything offline if they weren't seperated) 


just create a seperate DB in MariaDB and you'll be fine database-wise. For PHP, if you need to run different versions on the same server, here's a great tutorial for nginx: https://www.sitepoint.com/run-multiple-versions-php-one-server/  -- otherwise apache https://oanhnn.github.io/2015-09-22/running-multiple-php-versions-on-single-apache-instance.html -- skip the build instructions and use a package though

In reply to Matt T

Re: Installing Moodle along with WordPress on the same VPS

by Sailim Shivji -

Hello Matt,  I am a newbie when it comes to Linux.  I am also attempting to install Moodle along with WP.  Is it possible to create two dbs in the same MySql server?  If yes, how would I install Moodle along with WP? Thank you in advance.