LMS consist a few modules. LMS-UI is user interface, which is responsible for all interactions with user, entirely written in PHP and it uses SQL database to store all data, thus PHP script interpreter and SQL engine of your choice (MySQL or Postgresql).
LMS also contains a set of Perl scripts, responsible for various operations, ie. periodically applying subscription fees or sending reminders to users who are in debt. It also contains LMS-MGC, which may be configured to generate virtually any configuration file or script and manage your server. Note that some of the scripts might need additional Perl modules to function.
At the end there is also LMS Daemon, written in C, which is being used (its plugins in fact) as a drop-in replacement for LMS-MGC - to configure and manage (ie. restart) your services. It's main advantage is that it responds for all LMS-UI changes in realtime.