由于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
所以出现了白页。