Install APC On Elastic Beanstalk
16 May 2014Install
APC can be installed as a package on Amazon Linux AMIs. It is enough to just add it to the package to be installed in one of your .config
file in .ebextensions
# .ebextensions/myapp.config
packages:
yum:
php55-pecl-apc: []
See Amazon’s documentation for more info.
Troubleshooting
Logs
Logs of the execution of .ebextension/*.config
files are found in /var/log/cfn-init.log
. You should see something like:
[DEBUG] Installing/updating [u'php55-pecl-apc'] via yum
[INFO] Yum installed [u'php55-pecl-apc']
Wrong package
To search for APC packages:
yum search node