Update PHP 5.5 Amazon Linux AMI

0

I have an Amazon Linux instance running PHP 5.3 and wanted to upgrade to PHP 5.5

The command used in the installation was:

yum install -y nginx php-fpm;
yum install -y php-devel php-mysql php-pdo php-pear php-mbstring php-cli php-odbc php-imap php-gd php-xml php-soap php-mcrypt;

But whenever I try something like this:

yum install -y php55 php55-fpm

I have a problem with the php-fpm service,

Error: php55-cli conflicts with php-cli-5.3.29-1.8.amzn1.x86_64
Error: httpd24-tools conflicts with httpd-tools-2.2.31-1.6.amzn1.x86_64
Error: php55-process conflicts with php-process-5.3.29-1.8.amzn1.x86_64
Error: php55-fpm conflicts with php-fpm-5.3.29-1.8.amzn1.x86_64
Error: httpd24 conflicts with httpd-2.2.31-1.6.amzn1.x86_64
Error: php55 conflicts with php-5.3.29-1.8.amzn1.x86_64
Error: php55-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
Error: php55-xml conflicts with php-xml-5.3.29-1.8.amzn1.x86_64
    
asked by anonymous 30.10.2015 / 19:07

0 answers