php5.4与eAccelerator不兼容导致phpmyadmin升级后打开空白页
LNMP环境:Nginx 1.6,PHP 5.4.38,mariadb 10.0,eAccelerator 1.0-devphpMyAdmin从4.4.1.1升级到4.4.7,但是升级后打开登录页居然什么都没有,一片空白,查看源代码还能看到,查看nginx日志显示:
"GET /js/get_scripts.js.php?scripts%5B%5D=jquery/jquery-1.11.1.min.js&scripts%5B%5D=sprintf.js&scripts%5B%5D=ajax.js&scripts%5B%5D=keyhandler.js&scripts%5B%5D=jquery/jquery-ui-1.11.2.min.js&scripts%5B%5D=jquery/jquery.cookie.js&scripts%5B%5D=jquery/jquery.mousewheel.js&scripts%5B%5D=jquery/jquery.event.drag-2.2.js&scripts%5B%5D=jquery/jquery-ui-timepicker-addon.js&scripts%5B%5D=jquery/jquery.ba-hashchange-1.3.js&scripts%5B%5D=jquery/jquery.debounce-1.0.5.js&scripts%5B%5D=menu-resizer.js&scripts%5B%5D=cross_framing_protection.js&scripts%5B%5D=rte.js&scripts%5B%5D=tracekit/tracekit.js&scripts%5B%5D=error_report.js&scripts%5B%5D=doclinks.js&scripts%5B%5D=functions.js&scripts%5B%5D=navigation.js&scripts%5B%5D=indexes.js&scripts%5B%5D=common.js&scripts%5B%5D=codemirror/lib/codemirror.js&scripts%5B%5D=codemirror/mode/sql/sql.js&scripts%5B%5D=codemirror/addon/runmode/runmode.js&scripts%5B%5D=codemirror/addon/hint/show-hint.js&scripts%5B%5D=codemirror/addon/hint/sql-hint.js&scripts%5B%5D=console.js HTTP/1.1" 500 31 "http://XXX.com/phpmyadmin/index.php?db=&table=&server=1&target=&token=a83cd12sd6a91629ebf4d658346ab0fc" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"这下有些蒙圈了,折磨了我好几天,上网一顿神搜后,定位到可能是php5.4与eAccelerator不兼容导致的,到php.ini文件中注释掉关于eAccelerator的配置,一切都正常了,eAccelerator已经好久不更新了,这种莫名其妙的错误真是让人崩溃啊。建议使用php5.4以上版本的童鞋把eAccelerator卸载了吧。
[ 本帖最后由 clang 于 2015-5-19 17:06 编辑 ]
页:
[1]