PHPMYADMIN UPDATE中的问题(到PHP 8.1)
我试图更新PHPMYADMIN(PMA)DB以与PHP 8+匹配,因此我至少需要PMA为5.2 因此,我跟随倍数在线帮助,而没有任何成功结果。
这是我遵循的最后帮助: https://askubuntu.com/a/1204286
这对我的PMA做到了这一点: <
2:版本pma
我看上去没有任何成功的主题列表:
- https://askubuntu.com/questions/947805/947805/how-phpmmyadmin-phpmyadmin-redmin-phpmyadmin-revisited
- https://devanswers.co/manaly-upgrade-prade-prade-phpmyadmin/
- href =“ https://docs.phpmyadmin.net/en/latest/setup.html#upgrading-from-ander-version” rel =“ nofollow noreferrer”> https://docs.phpmyadmin.net/en/latest/setup.html#upgrading-from-ander-version
我的服务器: Ubuntu 20.04.4 LTS(gnu/linux 5.4.0-107代基因X86_64) (无GUI)
编辑: 我登录时发现了一个错误: 在此处输入图像描述
我制作了一个带有777许可的TMP文件,第二个错误消失了。
事先感谢您的帮助。
i was trying to update a phpmyadmin (PMA) db to match with php 8+ so i needed at least PMA to be 5.2
So i followed multiples help online without any successfull results.
This help was the last help i followed :
https://askubuntu.com/a/1204286
And this did this to my PMA :
PMA login CSS Broken
When i'm connected, i can see that i'm in v5.2 : Versions PMA
List of subjects that i looked without any success :
- https://askubuntu.com/questions/947805/how-to-upgrade-phpmyadmin-revisited
- https://devanswers.co/manually-upgrade-phpmyadmin/
- https://docs.phpmyadmin.net/en/latest/setup.html#upgrading-from-an-older-version
My server :
Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64)
(no GUI)
Edit :
I found an error printed when i'm logged in :
enter image description here
I made a tmp file with 777 permission and the second error disappeared.
Thanks in advance for the help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决方案非常容易。进入您的phpMyAdmin目录,然后使用nano config.inc.php打开config.inc.php文件,然后用新键更改池塘秘密,在此处生成 https://phpsolved.com/phpmyadmin-blowfish-secret-generator/ 复制和粘贴。
然后向下滚动直到看到
$ cfg ['uploadDir'] ='';
和$ cfg ['savedir''] ='';
在这两个下方添加代码<代码> $ cfg ['tempdir'] ='/tmp/'; 并保存配置。最后一次重新启动nginx或apache(我不知道你有哪个),你已经完成了。这应该解决您的问题。如果这不起作用,则可以使用phpmyadmin并使用此结构来安装新的: >。
The solution is very easy. go into your phpMyAdmin directory and open the config.inc.php file with nano config.inc.php then change the blowfish secret with the new key, generate it here https://phpsolved.com/phpmyadmin-blowfish-secret-generator/ copy and paste.
Then scroll down until you see
$cfg['UploadDir'] = '';
and$cfg['SaveDir'] = '';
below these two add the code$cfg['TempDir'] = '/tmp/';
and save the config.As last restart Nginx or Apache (I don't know which you have) and you're done. This should solve your problem. If that didn't work deinstall phpMyAdmin and install it new with this construction: https://codeshare.io/DZJd9E.