i have follow Have trouble installing phpmyadmin on PHP7 Apache/2.4.7 (Ubuntu) solution to install phpmyadmin,
my php version :PHP Version 7.1.33-58+ubuntu22.04.1+deb.sury.org+1
but localhost phpmyadmin showing blank page and get the error message from apache2 as below,
\[Wed Apr 24 02:00:01.299308 2024\] \[php7:emerg\] \[pid 342407\] \[client 192.168.131:13086\] PHP Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /usr/share/php/Symfony/Component/DependencyInjection/ContainerBuilder.php on line 312
and the 312 line on ContainerBuilder.php show as below,
public function addObjectResource(object|string $object)