I am trying to install phalcon in aws beanstalk with 64bit Amazon Linux 2016.03 v2.1.4 running PHP 5.5.
deployed code with .ebbeanstalk which has following code
commands: 01phalconinstall: # run this command from /tmp directory cwd: /tmp # don't run the command if phalcon is already installed (file /etc/php.d/phalcon.ini exists) test: '[ ! -f /etc/php.d/phalcon.ini ] && echo "phalcon not installed"' # executed only if test command succeeds command: | git clone --depth=1 git://github.com/phalcon/cphalcon.git \ && cd cphalcon/build \ && ./install \ && echo extension=phalcon.so > /etc/php.d/phalcon.ini \ && rm -rf ./cphalcon
It gave following error
[Instance: i-5693e58b] Command failed on instance. Return code: 128 Output: fatal: destination path 'cphalcon' already exists and is not an empty directory. command 01phalconinstall in tpk/.ebextensions/02_phalcon.config failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
any one can help me with this error