Phpmyadmin on PHP5 doesen't work on Ubuntu Server

核能气质少年 提交于 2019-12-24 19:05:57

问题


I have a big problem with phpmyadmin.

I'm on Ubuntu 16.04 Server. I've installed apache2, php5, php7, mysql. Then I installed phpmyadmin over Ubuntu 16.04 like this:

git clone https://github.com/phpmyadmin/phpmyadmin.git

The installation goes good, but when i use phpmyadmin calling it from URL over PHP5 the result is this:

PHP 7.1.3+ is required. Currently installed version is: 5.6.40-7+ubuntu16.04.1+deb.sury.org+1

How to use it over PHP5? I used it before (not on my server). Help needed...


回答1:


In Italian is CIAO A TUTTI!

I SOLVED IT FROM MYSELF.

  git clone https://github.com/phpmyadmin/phpmyadmin.git
  git checkout STABLE
  apt install composer
  php5.6 /usr/bin/composer install

then

  sudo service apache2 restart

THANK YOU ALL...



来源:https://stackoverflow.com/questions/56285406/phpmyadmin-on-php5-doesent-work-on-ubuntu-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!