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 every time I try something like:
yum install -y php55 php55-fpm
...I have conflict problems or is missing php-fpm service, error:
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
Good afternoon Claytinho, what problem exactly? Any error message appears?
– Guilherme Nascimento
try
yum clean; yum update php*;
Remember that there is dependency on the version existing within the repostorio– Marcos Regis
A tip Claytinho, always put the mistakes in the question, so facilitates who will answer, take into account that the comments are disposable.
– Guilherme Nascimento
@Guilhermenascimento is right should have put the mistakes there.
– Claytinho
Don’t worry, you’re new here, it’s just a tip :)
– Guilherme Nascimento
@Guilhermenascimento tried the update, but the default version is 5.3, so it was not yet.
– Claytinho
Claytinho has no experience with AWS, but @Marcosregis can try to help you.
– Guilherme Nascimento
Note that your version of PHP is not common. It is specific to Amazon. It may be more appropriate to go to their support as S.O. is a launder of themselves. If there is nothing running yet, you can try to uninstall ALL (
yum erase php*
) and reinstall based on a new version that is present (yum list php
)– Marcos Regis
This looks like "uninstall and install the other version"
– Wallace Maxters
@Wallacemaxters think that AWS is just like that, it is a feature of this type of service, you install "what you want" "when you want", usually the machines comes "half raw". Really it is all on the basis of SSH and etc, no Cpanel of life :p (although there is a panel). I don’t use Amazon, but it has been very praised, just have to be careful, because a colleague lost a lot of money, because some AWS services work by the hour.
– Guilherme Nascimento
Managed to solve your problem?
– durtto
I managed this: yum install -y Nginx php56-fpm php56-devel php56-mysql php56-Pdo php56-Pear php56-mbstring php56-cli php56-odbc php56-imap php56-Gd php56-xml php56-Soap php56-mcrypt php56-mysqlnd; I must click on "answer my own question"?
– Claytinho