Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

phpMyAdmin issue with multiple php versions on Centos 7

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
mlopez
Posts: 21
Joined: Mon Nov 05, 2018 7:26 am
Contact:
Contact mlopez
Website Twitter

Os: CentOS 6x
Web: apache + nginx
phpMyAdmin issue with multiple php versions on Centos 7
  • Quote

Post by mlopez » Mon Oct 21, 2019 3:14 am

I've installed php5.6 in addition to my default php 7.3 using skamasle's sk-php-selector
It's working all right and also when I check php version on the terminal it returns the correct version:

Code: Select all

# php -v
PHP 7.3.10 (cli) (built: Sep 24 2019 09:20:18) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.10, Copyright (c) 1998-2018 Zend Technologies
The problem is that now phpMyAdmin is using php v5.6 instead php v7.3 as it used to.

Can you help me troubleshoot this issue to get php7 back to phpMyAdmin?

Thank you in advance

Damon H.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: phpMyAdmin issue with multiple php versions on Centos 7
  • Quote

Post by skurudo » Wed Oct 23, 2019 9:51 am

mlopez wrote: ↑
Mon Oct 21, 2019 3:14 am
The problem is that now phpMyAdmin is using php v5.6 instead php v7.3 as it used to.
Damon, why you don't update your phpmyadmin version with php 7 support or you can create sub-domain with php 5.6 and you PMA with it.
Top

bogdan_di
Posts: 2
Joined: Fri Dec 03, 2021 3:55 am

Os: CentOS 6x
Web: apache + nginx
Re: phpMyAdmin issue with multiple php versions on Centos 7
  • Quote

Post by bogdan_di » Fri Dec 03, 2021 4:00 am

https://github.com/Skamasle/sk-php-selector/issues/21

Code: Select all

nano /etc/httpd/conf.modules.d/10-php56-php.conf
comment with #

Code: Select all

#<IfModule prefork.c>
#  LoadModule php5_module modules/libphp56-php5.so
#</IfModule>
then restart

Code: Select all

systemctl restart httpd
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password