Solved MyPhpAdmin issue

Pacific Spirit

Verified User
Joined
Jan 15, 2021
Messages
56
Location
Netherlands
I got complaints about an error on MyPhpAdmin, it asking to use 7.1.3+ to access but if I change it to a other version it keeps saying the same. Any idea?

PHP 7.1.3+ is required.
Currently installed version is: 5.6.40
 
you need to build new php versions as php1_release - it is a default PHP ver for all DA apps
 
Whatever is the first version in option.conf is the default version. Its used as the cmdline version as well. If you need a Higher version you will need to move up to number 1 position.

Also keep in mind what the user choses is based on position not version.

As example:
#PHP Settings
php1_release=7.4<<<<<<<<default and cli version
php1_mode=php-fpm
php2_release=7.3
php2_mode=php-fpm
php3_release=7.2
php3_mode=php-fpm
php4_release=7.1
php4_mode=php-fpm
 
I have made those changes and edit as it needs to but it doesn't still working.
Can you provide a screenshot of the error shown now? Does it detect the new php version? Can you try rebuilding phpmyadmin via custombuild and see if that helps?
 
Is there any way how to enable this? Rebuild did also nothing, it give the same message:
PHP 7.1.3+ is required.
Currently installed version is: 5.6.40
 
What is the output of this command?

Code:
grep php._release /usr/local/directadmin/custombuild/options.conf

Thanks,
 
or use PHPMyAdmin v4, but it's a bad idea to use PHP 5.6 anyway

Note: Did you try to rewrite the configs after?
 
Well after changing something in the CB it gives me now this if I click MyPhpAdmin

Service Unavailable​

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
 
First answer post #8 from scriptkiddy to see if we can help you.
After that, go to ssh, issue this command:
php -v
and put the out put here.
 
There is also no need to curse. You need to answer the questions that have been asked. You need to give more info on what is going on and what you see in the logs as to what seems to be wrong. Just saying it doesn't work is not helping us help you.
 
For some strange reason works the mail app again and shows MyPhpAdmin as in the begin:
PHP 7.1.3+ is required.
Currently installed version is: 5.6.40
 
Back
Top