Bobcares

Try our smart search search

Let us learn how to do the cyberpanel phpmyadmin upgrade with the support of our Cyberpanel support services at Bobcares.

How to update phpMyAdmin to the latest version in cyberpanel?

cyberpanel phpmyadmin upgrade

Here is how we can upgrade the phpMyAdmin to the latest version in cyberpanel.

Follow the steps given below:

  1. Firstly, Log in as the root user to the server.
    ssh root@YOUR_IP_ADDRESS.Copy Code
  2. After that, go to:
    cd /usr/local/CyberCP/public/Copy Code
  3. Make a backup of the phpmyadmin folder.
    cp -r /usr/local/CyberCP/public/phpmyadmin /usr/local/CyberCP/public/phpmyadmin.oldCopy Code
  4. Delete the present phpmyadmin folder.
    rm -rf phpmyadminCopy Code
  5. After that for phpmyadmin upgrade, we have to Setup wget.
    sudo yum install wgetCopy Code
  6. Download the newest version from the PHPMyAdmin website; 5.2.0 is the most recent at the time, therefore use the wget command.

    Later on, go to this page to discover the link to the most recent download.

    wget https://files.phpmyadmin.net/phpMyAdmin/5.2.0/phpMyAdmin-5.2.0-all-languages.zip 27Copy Code
  7. After that we have to Unzip it:
    unzip phpMyAdmin-5.2.0-all-languages.zipCopy Code
  8. Rename the folder so that Cyberpanel recognizes it.
    mv phpMyAdmin-5.2.0-all-languages phpmyadminCopy Code
  9. Copy the phpmyadmin.old configuration files to the new location. (Using CyberPanel for configuration and auto-login)
    cp -r /usr/local/CyberCP/public/phpmyadmin.old/config.inc.php /usr/local/CyberCP/public/phpmyadminCopy Code
    cp -r /usr/local/CyberCP/public/phpmyadmin.old/phpmyadminsignin.php /usr/local/CyberCP/public/phpmyadminCopy Code
    cp -r /usr/local/CyberCP/public/phpmyadmin.old/tmp /usr/local/CyberCP/public/phpmyadminCopy Code
  10. Now for cyberpanel phpmyadmin upgrade remove any temporary files from the twig folder.
    cd /usr/local/CyberCP/public/phpmyadmin/tmp/twig
    rm -rf *Copy Code
  11. After that run the command below:
    chown -R lscpd:lscpd /usr/local/CyberCP/public/phpmyadmin/tmpCopy Code

    c

    hmod -R 755 /usr/local/CyberCP/public/phpmyadmin/tmp/twigCopy Code
  12. If changing it to 755 doesn’t work, we may change the folder permissions back to 777.
    chmod -R 777 /usr/local/CyberCP/public/phpmyadmin/tmp/twigCopy Code
    cd /usr/local/CyberCP/public/phpmyadmin/tmp/twigCopy Code
  13. Remove the previous phpmyadmin folder as the next step for cyberpanel phpmyadmin upgrade:
    rm -rf /usr/local/CyberCP/public/phpmyadmin.oldCopy Code
  14. After that remove the zip folder using the command line given below:
    rm -rf /usr/local/CyberCP/public/phpMyAdmin-5.2.0-all-languages.zipCopy Code
  15. Finally, go to PHPMyAdmin and check out the URL below, changing the port if necessary.
    https://:8090/dataBases/phpmyadminCopy Code

[Need assistance with similar queries? We are here to help]

Conclusion

To sum up we have now seen how to carry out the cyberpanel phpmyadmin upgrade with the support of our tech support team.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED