Have you considered a more light-weight web server if RAM is such a key issue. Perhaps look at using nginx which has a much smaller footprint than apache2?
Hardware and performance
Minimum Apache Modules to run Moodle 2
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.