Page 1 of 1

phpMyAdmin Blank screen

Posted: Mon Oct 07, 2019 8:07 am
by charithabuddhika
Hello,

I have recently installed VestaCP on CentOS 7 and it seems phpmyadmin is only show a blank screen. I have check the error log and found these error while tail into the logs.

PHP Warning: Unsupported declare 'strict_types' in /usr/share/phpMyAdmin/index.php on line 8

PHP Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /usr/share/phpMyAdmin/index.php on line 63

PHP Version info:

root@srv1 ~ $ php -v
PHP 7.4.0RC3 (cli) (built: Oct 1 2019 08:30:29) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0-dev, Copyright (c) Zend Technologies

Any one got an any fix for this?

Your help is appreciated at the earliest.

Many Thanks
Charitha

Re: phpMyAdmin Blank screen

Posted: Fri Oct 25, 2019 11:33 am
by dlozev
With php 7.4 have too many problems...
My phpmyadmin working, but giving many errors.

Re: phpMyAdmin Blank screen

Posted: Fri Oct 25, 2019 12:16 pm
by grayfolk
7.4 not released yet, just RC versions. Dont use it in production.

Re: phpMyAdmin Blank screen

Posted: Mon Oct 28, 2019 3:44 pm
by skurudo
charithabuddhika wrote:
Mon Oct 07, 2019 8:07 am
PHP Version info:
root@srv1 ~ $ php -v
PHP 7.4.0RC3 (cli) (built: Oct 1 2019 08:30:29) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0-dev, Copyright (c) Zend Technologies

Any one got an any fix for this?
Dear Charitha,
This post will have strike power on PHPMyAdmin ground (or forum, or github).
Sorry but it's more for PMA developers.

Re: phpMyAdmin Blank screen

Posted: Fri Apr 03, 2020 11:17 am
by Bez
Hi all!

I was too errors

Code: Select all

PHP Warning:  Unsupported declare 'strict_types' in /usr/share/phpMyAdmin/index.php on line 8
PHP Parse error:  syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /usr/share/phpMyAdmin/index.php on line 63
And PhpMyAdmin was blank, no code on the page.

Code: Select all

# php -v
PHP 7.4.4 (cli) (built: Mar 17 2020 10:40:21) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with the ionCube PHP Loader v10.4.0 (beta2), Copyright (c) 2002-2020, by ionCube Ltd.
    with Zend OPcache v7.4.4, Copyright (c), by Zend Technologies
This problem has been after I update the PHP version and other services.

So, I will get my backup server back with no errors and old PHP version.

Please, tell me, what is the last PHP version to install for correct work?