Run PHPmyAdmin with second php version PHP7

imfu

New member
Joined
Sep 6, 2016
Messages
2
Hi,

I've got a problem with PHPmyAdmin after i updated it.
My PHPmyAdmin says:

"PHP 5.5+ is required.
Currently installed version is: 5.4.45"

I run 5.4.45 for certain reasons by default and php 7 as second version.
How do i run PHPmyAdmin on PHP7?

Can somebody help me?
I can't find the solution.
 
Hello,

There is no ready answer for it. That depends on many things:

1. web-server you run: apache, nginx, other.
2. php-mode you run: suphp, fastcgi, fpm, other.
3. your knowledge and experience.
 
Hello,

There is no ready answer for it. That depends on many things:

1. web-server you run: apache, nginx, other.
2. php-mode you run: suphp, fastcgi, fpm, other.
3. your knowledge and experience.

apache+nginx , fastcgi and good experienece!

what can I do?
 
Try and update /etc/httpd/conf/extra/httpd-hostname.conf per your needs.

Great! Now I have php 7.0.16 in my phpmyadmin!

But phpmyadmin version is 4.4.15, now whit php7 how I can update to 4.6.6 ?
 
Make sure to protect your changes against being overwritten. Use custom directory of custombuild for it.
 
Via ssh as a superuser in a text-editor (vi, vim, nano, mceditor) open /etc/httpd/conf/extra/httpd-hostname.conf and update it to fit your needs. If you don't know how to use SSH you should either learn it or hire somebody to do it for you.
 
Hi,
What we need to add in the file /etc/httpd/conf/extra/httpd-hostname.conf to run phpmyadmin on the second version of php ?
Thanks
 
what on apache/fpm case?

Hello

I've a apache server, running two versions of php - the first one: php-fpm56 and the second one - php-fpm73

Where and what should I change to have php-fpm73 for phpmyadmin?

Thanks in advance
 
Back
Top