Configure apache MPM in Beanstalk for a php/symfony site
<p>I'm using AWS beanstalk to host a php/symphony application.
I would like to properly configure apache regarding the machine size, currently t2.small, ie. 1 core, 2 GB RAM, which is pretty small.</p>

<p>apachectl -V gives me this :</p>

<pre><code>Server version: Apache/2.4.16 (Amazon)
Server built:   Aug 13 2015 23:52:13
Server's Module Magic Number: 20120211:47
Server loaded:  APR 1.5.0, APR-UTIL 1.4.1
Compiled using: APR 1.5.0, APR-UTIL 1.4.1
Architecture:   64-bit
Server MPM:     prefork
  threaded:     no
  forked:     yes (variable process count)
</code></pre>

<p>From <a href="http://httpd.apache.org/docs/current/mod/prefork.html" rel="nofollow">this doc</a>, I need to at least configure the MaxRequestWorkers in MPM/prefork, in relation to the available RAM.</p>

<p>What's the proper way to configure this in beanstalk ? I guess it's through .ebextensions ? How ?</p>