I am trying to install PHP APC with the following command with the new Amazon Linux AMI. Unfortunately, the build failed. sudo yum install php-devel php-pear httpd-devel sudo yum install gcc sudo pecl install apc sudo pecl install apc-beta (I also tried this) Error: /var/tmp/APC/php_apc.c:959: error: duplicate 'static' make: *** [php_apc.lo] Error 1 ERROR: `make' failed