PHP5上的Phpmyadmin在Ubuntu Server上不起作用 [英] Phpmyadmin on PHP5 doesen't work on Ubuntu Server
问题描述
我对phpmyadmin有很大的疑问.
I have a big problem with phpmyadmin.
我在Ubuntu 16.04 Server上.我已经安装了apache2,php5,php7,mysql.然后我像这样在Ubuntu 16.04上安装了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
安装进行得很好,但是当我使用phpmyadmin通过PHP5从URL调用它时,结果是这样的:
The installation goes good, but when i use phpmyadmin calling it from URL over PHP5 the result is this:
需要PHP 7.1.3+. 当前安装的版本是:5.6.40-7 + ubuntu16.04.1 + deb.sury.org + 1
PHP 7.1.3+ is required. Currently installed version is: 5.6.40-7+ubuntu16.04.1+deb.sury.org+1
如何通过PHP5使用它?我以前用过(不在我的服务器上). 需要帮助...
How to use it over PHP5? I used it before (not on my server). Help needed...
推荐答案
意大利语中的CIAO是TUTTI!
In Italian is CIAO A TUTTI!
我自己解决了.
git clone https://github.com/phpmyadmin/phpmyadmin.git
git checkout STABLE
apt install composer
php5.6 /usr/bin/composer install
然后
sudo service apache2 restart
谢谢大家...
这篇关于PHP5上的Phpmyadmin在Ubuntu Server上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!