【发布时间】:2016-04-26 23:36:07
【问题描述】:
我正在使用 AWS beanstalk 来托管一个 php/symphony 应用程序。 我想正确配置有关机器大小的 apache,目前为 t2.small,即。 1 个核心,2 GB RAM,非常小。
apachectl -V 给了我这个:
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)
从this doc 开始,我至少需要根据可用 RAM 配置 MPM/prefork 中的 MaxRequestWorkers。
在 beanstalk 中配置它的正确方法是什么?我猜是通过 .ebextensions ?怎么样?
【问题讨论】:
标签: php apache amazon-web-services amazon-elastic-beanstalk