简体   繁体   中英

how to install APC cache on aws beanstalk?

I want to install Alternative PHP Cache(APC) on AWS Elastic Beanstalk. Please share me any idea or tutorial for this.

Thanks in advance

(I am not specifically aware about the APC and PHP)

But, anything doable via commandline can be configured in Elastic Beanstalk. Each time an instance is lanunched, these are executed and so you can practically do any kind of configuration. This adds a lot to the power of Beanstalk.

Read more here: Customizing and Configuring AWS Elastic Beanstalk Environments

There is an article here regarding this:

http://qpleple.com/install-apc-on-elastic-beanstalk/

Whether it works or not is not something I have finished verifying as of yet.

However using the .ebextensions paradigm seems to be the correct way of going about it:

# .ebextensions/myapp.config
packages:
  yum:
    php55-pecl-apc: []

EDIT:

Anyone coming from google - the new package version is php71-pecl-apcu

# .ebextensions/myapp.config
packages:
  yum:
    php71-pecl-apcu: []

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM