sudo yum remove php linux in aws

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
When I was trying to upgrade PHP version in amazon web server I got this kind of error. I'm trying to up upgrade PHP version 5.6 to 7.0 in amazon web server and I am using to putty to upgrade.
[root@cpanel ec2-user]# sudo yum remove PHP
Loaded plugins: priorities, universal-hooks, update-motd, upgrade-helper
No Match for argument: PHP
No Packages marked for removal
linux php amazon-ec2 aws
add a comment |Â
up vote
0
down vote
favorite
When I was trying to upgrade PHP version in amazon web server I got this kind of error. I'm trying to up upgrade PHP version 5.6 to 7.0 in amazon web server and I am using to putty to upgrade.
[root@cpanel ec2-user]# sudo yum remove PHP
Loaded plugins: priorities, universal-hooks, update-motd, upgrade-helper
No Match for argument: PHP
No Packages marked for removal
linux php amazon-ec2 aws
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
When I was trying to upgrade PHP version in amazon web server I got this kind of error. I'm trying to up upgrade PHP version 5.6 to 7.0 in amazon web server and I am using to putty to upgrade.
[root@cpanel ec2-user]# sudo yum remove PHP
Loaded plugins: priorities, universal-hooks, update-motd, upgrade-helper
No Match for argument: PHP
No Packages marked for removal
linux php amazon-ec2 aws
When I was trying to upgrade PHP version in amazon web server I got this kind of error. I'm trying to up upgrade PHP version 5.6 to 7.0 in amazon web server and I am using to putty to upgrade.
[root@cpanel ec2-user]# sudo yum remove PHP
Loaded plugins: priorities, universal-hooks, update-motd, upgrade-helper
No Match for argument: PHP
No Packages marked for removal
linux php amazon-ec2 aws
edited May 4 at 9:30
Ankur S
6692213
6692213
asked May 4 at 7:43
sujith
1
1
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
we should give proper package name.First check which version of php installed.
rpm -qa php*
check the package installed and remove it.
yum remove rh-php56
or
rpm -Uvh --nodeps php-<version>.rpm
Hi, thank you for your answer. I try it many times but same error.
â sujith
May 4 at 14:07
share the output ofrpm -qa php*
â SivaPrasath
May 4 at 14:20
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
we should give proper package name.First check which version of php installed.
rpm -qa php*
check the package installed and remove it.
yum remove rh-php56
or
rpm -Uvh --nodeps php-<version>.rpm
Hi, thank you for your answer. I try it many times but same error.
â sujith
May 4 at 14:07
share the output ofrpm -qa php*
â SivaPrasath
May 4 at 14:20
add a comment |Â
up vote
1
down vote
we should give proper package name.First check which version of php installed.
rpm -qa php*
check the package installed and remove it.
yum remove rh-php56
or
rpm -Uvh --nodeps php-<version>.rpm
Hi, thank you for your answer. I try it many times but same error.
â sujith
May 4 at 14:07
share the output ofrpm -qa php*
â SivaPrasath
May 4 at 14:20
add a comment |Â
up vote
1
down vote
up vote
1
down vote
we should give proper package name.First check which version of php installed.
rpm -qa php*
check the package installed and remove it.
yum remove rh-php56
or
rpm -Uvh --nodeps php-<version>.rpm
we should give proper package name.First check which version of php installed.
rpm -qa php*
check the package installed and remove it.
yum remove rh-php56
or
rpm -Uvh --nodeps php-<version>.rpm
answered May 4 at 9:19
SivaPrasath
4,80712545
4,80712545
Hi, thank you for your answer. I try it many times but same error.
â sujith
May 4 at 14:07
share the output ofrpm -qa php*
â SivaPrasath
May 4 at 14:20
add a comment |Â
Hi, thank you for your answer. I try it many times but same error.
â sujith
May 4 at 14:07
share the output ofrpm -qa php*
â SivaPrasath
May 4 at 14:20
Hi, thank you for your answer. I try it many times but same error.
â sujith
May 4 at 14:07
Hi, thank you for your answer. I try it many times but same error.
â sujith
May 4 at 14:07
share the output of
rpm -qa php*â SivaPrasath
May 4 at 14:20
share the output of
rpm -qa php*â SivaPrasath
May 4 at 14:20
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441719%2fsudo-yum-remove-php-linux-in-aws%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password