装好 phpmyadmin 之后出现了好多问题,但是都大同小异,求大神解答!!

2017-01-17 21:45:35 +08:00
 jljaoe

Deprecation Notice in .\libraries\phpseclib\Crypt\Base.php#1592 Function mcrypt_list_algorithms() is deprecated

Backtrace

.\libraries\phpseclib\Crypt\Rijndael.php#269: phpseclib\Crypt\Base->isValidEngine(integer 2) .\libraries\phpseclib\Crypt\Base.php#1659: phpseclib\Crypt\Rijndael->isValidEngine(integer 2) .\libraries\phpseclib\Crypt\Base.php#494: phpseclib\Crypt\Base->_setEngine() .\libraries\plugins\auth\AuthenticationCookie.php#770: phpseclib\Crypt\Base->__construct(integer 2) .\libraries\plugins\auth\AuthenticationCookie.php#345: PMA\libraries\plugins\auth\AuthenticationCookie->cookieDecrypt( string '{"iv":"wKsIBiLkhug77yWMN+ihOw==","mac":"1f1a42a99c87176ab878037b93f74c91daf3ad6e","payload":"mPFKrJSNhtdW8Ku7zdaSPA=="}', string 'sunec', ) .\libraries\common.inc.php#758: PMA\libraries\plugins\auth\AuthenticationCookie->authCheck() .\navigation.php#13: require_once(.\libraries\common.inc.php)

Deprecation Notice in .\libraries\phpseclib\Crypt\Base.php#1592 Function mcrypt_list_algorithms() is deprecated

Backtrace

.\libraries\phpseclib\Crypt\Rijndael.php#269: phpseclib\Crypt\Base->isValidEngine(integer 2) .\libraries\phpseclib\Crypt\Base.php#1659: phpseclib\Crypt\Rijndael->isValidEngine(integer 2) .\libraries\phpseclib\Crypt\Base.php#534: phpseclib\Crypt\Base->_setEngine() .\libraries\phpseclib\Crypt\Rijndael.php#215: phpseclib\Crypt\Base->setKeyLength(integer 128) .\libraries\phpseclib\Crypt\AES.php#99: phpseclib\Crypt\Rijndael->setKeyLength(integer 128) .\libraries\phpseclib\Crypt\Base.php#576: phpseclib\Crypt\AES->setKeyLength(integer 128) .\libraries\phpseclib\Crypt\AES.php#114: phpseclib\Crypt\Base->setKey(string 'unecunecunecunec') .\libraries\plugins\auth\AuthenticationCookie.php#772: phpseclib\Crypt\AES->setKey(string 'unecunecunecunec') .\libraries\plugins\auth\AuthenticationCookie.php#345: PMA\libraries\plugins\auth\AuthenticationCookie->cookieDecrypt( string '{"iv":"wKsIBiLkhug77yWMN+ihOw==","mac":"1f1a42a99c87176ab878037b93f74c91daf3ad6e","payload":"mPFKrJSNhtdW8Ku7zdaSPA=="}', string 'sunec', ) .\libraries\common.inc.php#758: PMA\libraries\plugins\auth\AuthenticationCookie->authCheck() .\navigation.php#13: require_once(.\libraries\common.inc.php)

4329 次点击
所在节点    问与答
15 条回复
jljaoe
2017-01-17 21:45:49 +08:00
这是前两条
itisthecon
2017-01-17 22:15:18 +08:00
php.ini 里面把警告信息关掉即可, 顺便问下这 php 用的是哪个版本的
itisthecon
2017-01-17 22:18:18 +08:00
php.ini

error_reporting = E_ALL & ~E_DEPRECATED
qwer1234asdf
2017-01-17 22:25:03 +08:00
php 翔一样的东东。。。
前两天安装完 php5.6 ,竟然没有 php.ini 。。。难道我装的是假的 php ?
iscraft
2017-01-17 23:04:08 +08:00
phpmyadmin 随着 php 的不断升级变化较大 尤其是 5.2 和 5.4+ 最好选用对应彼此的合适版本
@qwer1234asdf 遇到问题先搜索一下 不要开口就喷
php.ini-development 和 php.ini-production 任选其一 改名为 php.ini
techmoe
2017-01-18 01:04:28 +08:00
@qwer1234asdf 好奇怎么装的
sleshep
2017-01-18 10:59:20 +08:00
用 adminer
qwer1234asdf
2017-01-18 10:59:32 +08:00
@iscraft 我不会告诉你 连这两个文件也没有 最后自己新建了一个
@techmoe
```bash
sudo apt-get install php5, php5-fpm
```
qwer1234asdf
2017-01-18 11:02:05 +08:00
@iscraft
再吐槽下, php 打不了 log ,尼玛。。。。。。。。。。。。。。。。
php 是用过最 shit 的语言,连汇编都比不上
blackjar
2017-01-18 12:08:59 +08:00
自己蠢不要怪语言 楼上这种货色赶紧拉黑
techmoe
2017-01-18 12:54:00 +08:00
@qwer1234asdf 我怎么就没遇到过这种情况。。你可以 phpinfo(); dump 一下 php.ini 的路径
techmoe
2017-01-18 12:54:46 +08:00
打 log 。。找轮子吧
qwer1234asdf
2017-01-18 13:18:42 +08:00
@techmoe @techmoe @blackjar 你是什么样的货色呢?@techmoe 连装了两次……我也纳闷……做完需求赶紧撤
jljaoe
2017-01-20 22:12:28 +08:00
@itisthecon php 是 4.5.6.2 ,似乎是版本和 mysql 不支持吧。原谅这么久才回,嘻嘻
jljaoe
2017-01-20 22:13:41 +08:00
@iscraft 恩,好像是的,版本不对

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/335251

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX