lnmp php gd2.dll,lnmp环境phpmyadmin首页空白

由于phpmyadmin3.3.7版本的已知漏洞,存在安全性问题,所以打算升级phpmyadmin,从官方下载后,放到服务器,运行不正常,访问phpMyAdmin 3.4.7中任何php程序都显示空白页。首先根据pma的手册:(内容如下)Requirements

PHP

You need PHP 5.2.0 or newer, with session support (see FAQ 1.31) , the Standard PHP Library (SPL) extension and JSON support.

To support uploading of ZIP files, you need the PHP zip extension.

For proper support of multibyte strings (eg. UTF-8, which is currently the default), you should install the mbstring and ctype extensions.

You need GD2 support in PHP to display inline thumbnails of JPEGs ("image/jpeg: inline") with their original aspect ratio

When using the "cookie" authentication method, the mcrypt extension is strongly suggested for most users and is required for 64–bit machines. Not using mcrypt will cause phpMyAdmin to load pages significantly slower.

To support upload progress bars, see FAQ 2.9.

To support BLOB streaming, see PHP and MySQL requirements in FAQ 6.25.

MySQL 5.0 or newer (details);

Web browser with cookies enabled.

分别检测是那一块出了问题。

放一个

phpinfo();

?>

看了下,符合要求,郁闷了!

只好,一步步调试程序。

最后发现

php配置文件把ini_set禁用了,phpmyadmin程序要使用ini_set

所以出现了白页。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值