New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Upgrade php5 to php7 on centos 7,cant install phpmyadmin
I just install nginx mariadb, php5 on a centos 7 os following this. then upgrade php5 to php7 follwing this. now trying to install phpmyadmin. yum -y install phpmyadmin
its showing this error at last line:
`--> Finished Dependency Resolution
Error: php70u-cli conflicts with php-cli-5.4.16-43.el7_4.x86_64
Error: php70u-common conflicts with php-common-5.4.16-43.el7_4.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest`
I am totally out of mind. trying for last 4 days continuously. reinstall os several time. tried install phpmyadmin with php5,working. but after updating to php7. reinstall phpmyadmin,symlink found on ssh,but showing 404 on browser. so nothing helped me for last 4 days.
Comments
Remove php 5 first, or try non installed phpmyadmin
Removed php5 first. then installed. another time,with fresh os install php7 first. how to use non-installed phpmyadmin?
What about upgrade 5.4 -> 5.6 -> 7.0?
@bdspice
Just grab a copy of phpMyAdmin on their official website and run that instead.
Never thought about that. while tried direct install 7, why that not worked?
oh. tried that also. download from official website,then unpacked on server /usr/share/phpmyadmin, symlink to site folder,but not worked.
See https://ius.io/FAQs/#im-trying-to-install-phpmyadmin-but-yum-is-failing-with-errors-from-ius-packages-why
Or, as phpMyAdmin is pure PHP, download and configure manually.
Tried this, installed phpmyadmin on /usr/share/phpmyadmin. then symlink to /usr/share/nginx/html its showing on putty,but not worked on browser
@bdspice
Did you set the correct permissions? Error logs?
Obviously. i checked all directory and files for correct permission. check error logs. because most of the problems solution are there.but nothing help. now totally hopeless that i cant use php7 ever.
It's not the smartest idea to post your IP here. Your HTTP service isn't responding to anything, so I suspect you have a firewall setup, as it is responding to ICMP. From putty, as root, run 'iptables -F' and see if it works. If so, fix your firewall.
From the error, seems like phpmyadmin is trying to install php which is conflicting with existing one.
just now, reinstall the os after totally hopeless. thats why. i am going to use old php5 version. otherways its full headache. waste 4 restless days.i cant take anymore.
If anyone know how to install nginx,php7 php-fpm, mariadb, phpmyadmin on centos 7 and get worked, please tell me. i will again try that
check how i installed nginx,php and phpmyadmin in following links. then you will know should it conflicting with existing one or not
Just remove php5 'completely'
@bdspice: Trying to upgrade a bigger software package on CentOS-7 can be a delicate matter, because one is obliged to use an unofficial repository.
In your position, I would try https://blog.remirepo.net/ (Remi's RPM repository), which has a good reputation and is actively maintained. Start here:
https://blog.remirepo.net/post/2018/02/01/PHP-version-7.1.14-and-7.2.2
tried, no help..
btw, check ur link in signature
used once, no result.
Sorry to hear this.
Attacking this from another angle - adminer
what attacking you mean?
Using adminer instead of phpmyadmin
it was specified in the tutorial to remove the old php5 vesions, so when you issue
yum install phpmyadmin
you shouldn't already have the following:php-cli-5.4.16-43.el7_4.x86_64
php-common-5.4.16-43.el7_4.x86_64
before installing phpmyadmin can you issue:
yum list installed | grep php
and remove the old php version as you see fit
@bdspice contact me on skype, qovic.bharat I can help
They're limited, grab soon!
If it's giving same error, it means it's still present. Make sure to remove leftovers too.
Recommend MySQL Workbench (administer multiple MySQL servers remotely from your laptop).
I recommend removing the php5 repo as well after removing php5.