Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-20-2017, 01:58 AM   #1
Registered: Aug 2016
Distribution: CentOS
Posts: 91

Rep: Reputation: Disabled
MySQL 5.5 to MySQL 5.6 and PHP 5.6 to PHP 7 upgrade on CentOS 6.9

Hello Team,

We have been using CentOS 6.9 web server with the PHP version 5.6 and MySQL version 5.5. There are so many websites are running now. Currently magento version 2 is required MySQL version 5.6 that's why we need to upgrade MySQL version from 5.5 to 5.6. In this upgrade time we also want to upgrade our PHP version from PHP 5.6 to PHP 7 on our CentOS 6.9 web server.

It will be great help if anyone suggest me how can I do this. I mean to say easy and best way without any data loss.

Tarak Nath
Old 06-20-2017, 07:20 AM   #2
Registered: Aug 2016
Distribution: CentOS
Posts: 91

Original Poster
Rep: Reputation: Disabled
Please help me, any suggestion will be appreciated.
Old 06-20-2017, 10:17 AM   #3
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,813
Blog Entries: 13

Rep: Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875Reputation: 4875
Hi taru.tarak,

A good suggestion is to wait about 24 hours for other persons to see your thread and consider if they have any suggestions or further questions.

If you feel that another technical forum might be more suitable, please use the report button to ask that your thread be moved. There is a Linux Server forum and also a CentOS specific forum, but meanwhile the Newbie forum is also a good place for this question.

My partial answer (not knowing much about the particular software you are asking about) is that you really should stop the server, upgrade it, and then restart it or get the software back to a running state. To avoid loss of data for something like this, you may wish to have a mirror system process the required data.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install php-mysql fails with mysql 5.1 - "Error: mysql conflicts with MySQL" rebelde Linux - Software 2 03-13-2009 10:32 AM
Upgrade to MySQL-5.0.18 breaks PHP mysql functions MarkVickers Slackware 5 05-03-2006 12:10 AM
php-mysql dependancy problem after nitemare mysql upgrade. RHEL4 andrewc Red Hat 1 01-03-2006 04:16 PM
Upgrade mysql and php acrors Red Hat 1 08-31-2004 10:30 AM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 08:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration